public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.17-git14 compile failure & fix
@ 2006-06-29 17:05 Badari Pulavarty
  2006-06-29 17:20 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Badari Pulavarty @ 2006-06-29 17:05 UTC (permalink / raw)
  To: Linus Torvalds, lkml, Greg KH, kamezawa.hiroyu, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

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



[-- Attachment #2: define-resource-size.patch --]
[-- Type: text/plain, Size: 443 bytes --]

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 {

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-29 18:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 17:05 2.6.17-git14 compile failure & fix Badari Pulavarty
2006-06-29 17:20 ` Greg KH
2006-06-29 18:29   ` Andrew Morton
2006-06-29 18:36     ` Linus Torvalds
2006-06-29 18:56     ` Badari Pulavarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox