summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/proc.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-04-24 12:49:52 +0000
committerkib <kib@FreeBSD.org>2010-04-24 12:49:52 +0000
commite91c695f77327172ce0a6826362a20989822e97b (patch)
treef957490736ac9e2d4cf2744de79d181118b36d05 /sys/powerpc/include/proc.h
parent0b9b56e38ea79db375d5fe8e9d9be5e7a2b36127 (diff)
downloadFreeBSD-src-e91c695f77327172ce0a6826362a20989822e97b.zip
FreeBSD-src-e91c695f77327172ce0a6826362a20989822e97b.tar.gz
Move the constants specifying the size of struct kinfo_proc into
machine-specific header files. Add KINFO_PROC32_SIZE for struct kinfo_proc32 for architectures providing COMPAT_FREEBSD32. Add CTASSERT for the size of struct kinfo_proc32. Submitted by: pluknet Reviewed by: imp, jhb, nwhitehorn MFC after: 2 weeks
Diffstat (limited to 'sys/powerpc/include/proc.h')
-rw-r--r--sys/powerpc/include/proc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/proc.h b/sys/powerpc/include/proc.h
index c958fb7..cbe6da9 100644
--- a/sys/powerpc/include/proc.h
+++ b/sys/powerpc/include/proc.h
@@ -46,4 +46,6 @@ struct mdthread {
struct mdproc {
};
+#define KINFO_PROC_SIZE 768
+
#endif /* !_MACHINE_PROC_H_ */
OpenPOWER on IntegriCloud