aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/proc.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-02-19 11:26:17 -0800
committerBrian Behlendorf <[email protected]>2009-02-19 11:26:17 -0800
commit99639e4a13306c3809b52e487d4343d756fad2e2 (patch)
tree0baaa1c24c08ee7b51c24dd62d48427b439fd498 /include/sys/proc.h
parent63a93055fb6cfddebe31c791f7df86b14942ca9d (diff)
Add zone_get_hostid() function
Minimal support added for the zone_get_hostid() function. Only global zones are supported therefore this function must be called with a NULL argumment. Additionally, I've added the HW_HOSTID_LEN define and updated all instances where a hard coded magic value of 11 was used; "A good riddance of bad rubbish!"
Diffstat (limited to 'include/sys/proc.h')
-rw-r--r--include/sys/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/proc.h b/include/sys/proc.h
index ab2425ce8..a4b1da55a 100644
--- a/include/sys/proc.h
+++ b/include/sys/proc.h
@@ -33,6 +33,7 @@
#include <linux/sysctl.h>
#include <linux/seq_file.h>
#include <sys/sysmacros.h>
+#include <sys/systeminfo.h>
#include <sys/kmem.h>
#include <sys/mutex.h>
#include <sys/kstat.h>