mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
libspl: move physmem to sys/systm.h; initialise at libspl_init()
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
This commit is contained in:
committed by
Brian Behlendorf
parent
d02ea5170a
commit
6cf6f091cf
@@ -127,6 +127,10 @@ extern "C" {
|
||||
#include <sys/kmem.h>
|
||||
#include <sys/zfs_delay.h>
|
||||
#include <sys/vnode.h>
|
||||
#include <sys/random.h>
|
||||
#include <sys/callb.h>
|
||||
#include <sys/trace.h>
|
||||
#include <sys/systm.h>
|
||||
|
||||
#include <sys/zfs_context_os.h>
|
||||
|
||||
@@ -206,7 +210,6 @@ extern char *vn_dumpdir;
|
||||
#define NN_DIVISOR_1000 (1U << 0)
|
||||
#define NN_NUMBUF_SZ (6)
|
||||
|
||||
extern uint64_t physmem;
|
||||
extern const char *random_path;
|
||||
extern const char *urandom_path;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user