Messages in this thread Patch in this message | | | Date | Thu, 29 Jun 2006 10:05:56 -0700 | From | Badari Pulavarty <> | Subject | 2.6.17-git14 compile failure & fix |
| |
Hi,
I get "unknown definition" compile failure while compiling 2.6.17-git14 with CONFIG_MEMORY_HOTPLUG. (kernel/resource.c line: 243) - due to recent changes to it.
Here is the patch to fix it. I can't take credit for the patch, since its part of GregKH resource_t patches :)
Thanks, Badari
Index: linux-2.6.17/include/linux/types.h =================================================================== --- linux-2.6.17.orig/include/linux/types.h 2006-06-29 09:53:00.000000000 -0700 +++ linux-2.6.17/include/linux/types.h 2006-06-29 09:58:21.000000000 -0700 @@ -177,6 +177,8 @@ typedef __u64 __bitwise __be64; #ifdef __KERNEL__ typedef unsigned __bitwise__ gfp_t; + +typedef unsigned long resource_size_t; #endif struct ustat { | |