From e91c695f77327172ce0a6826362a20989822e97b Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 24 Apr 2010 12:49:52 +0000 Subject: 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 --- sys/powerpc/include/proc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/powerpc/include/proc.h') 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_ */ -- cgit v1.1