mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 10:42:45 +00:00
libprocstat: try to fix fallout from r361363
The revision caused libprocstat to have two undefined symbols: - __start_set_pcpu - __stop_set_pcpu probably because of __GLOBL() used in sys/pcpu.h under _KERNEL. The symbols are not accessed by anything and the linker in base does not complain about them, but some ports are failing to build. Hack around the problem by providing definitions for those symbols. Probably there is a better solution, but I could not think of it yet. Reported by: zeising MFC after: 3 days X-MFC with: r361363 Sponsored by: Panzura
This commit is contained in:
parent
3fc40153b2
commit
56e8cb87c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361434
@ -57,3 +57,7 @@ size_t sizeof_znode_t = sizeof(znode_t);
|
||||
size_t offsetof_z_id = offsetof(znode_t, z_id);
|
||||
size_t offsetof_z_size = offsetof(znode_t, z_size);
|
||||
size_t offsetof_z_mode = offsetof(znode_t, z_mode);
|
||||
|
||||
/* Keep pcpu.h satisfied. */
|
||||
uintptr_t *__start_set_pcpu;
|
||||
uintptr_t *__stop_set_pcpu;
|
||||
|
Loading…
Reference in New Issue
Block a user