All of lore.kernel.org
 help / color / mirror / Atom feed
From: Badari Pulavarty <pbadari@us.ibm.com>
To: Linus Torvalds <torvalds@osdl.org>,
	lkml <linux-kernel@vger.kernel.org>, Greg KH <gregkh@suse.de>,
	kamezawa.hiroyu@jp.fujitsu.com, Andrew Morton <akpm@osdl.org>
Subject: 2.6.17-git14 compile failure & fix
Date: Thu, 29 Jun 2006 10:05:56 -0700	[thread overview]
Message-ID: <44A40874.20202@us.ibm.com> (raw)

[-- 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 {

             reply	other threads:[~2006-06-29 17:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29 17:05 Badari Pulavarty [this message]
2006-06-29 17:20 ` 2.6.17-git14 compile failure & fix Greg KH
2006-06-29 18:29   ` Andrew Morton
2006-06-29 18:36     ` Linus Torvalds
2006-06-29 18:56     ` Badari Pulavarty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44A40874.20202@us.ibm.com \
    --to=pbadari@us.ibm.com \
    --cc=akpm@osdl.org \
    --cc=gregkh@suse.de \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.