lkml.org 
[lkml]   [2006]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.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 {
\
 
 \ /
  Last update: 2006-06-29 19:08    [W:0.057 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site