2.6.17-git14 compile failure & fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 {

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux