diff options
author | kib <kib@FreeBSD.org> | 2010-04-24 12:49:52 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-04-24 12:49:52 +0000 |
commit | e91c695f77327172ce0a6826362a20989822e97b (patch) | |
tree | f957490736ac9e2d4cf2744de79d181118b36d05 /sys/ia64/include | |
parent | 0b9b56e38ea79db375d5fe8e9d9be5e7a2b36127 (diff) | |
download | FreeBSD-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/ia64/include')
-rw-r--r-- | sys/ia64/include/proc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/ia64/include/proc.h b/sys/ia64/include/proc.h index 6bf9c78..81e2e4f 100644 --- a/sys/ia64/include/proc.h +++ b/sys/ia64/include/proc.h @@ -38,4 +38,7 @@ struct mdproc { int __dummy; /* Avoid having an empty struct. */ }; +#define KINFO_PROC_SIZE 1088 +#define KINFO_PROC32_SIZE 768 + #endif /* !_MACHINE_PROC_H_ */ |