From: Matthew Dobson <colpatch@us.ibm.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@zip.com.au>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Martin Bligh <mjbligh@us.ibm.com>,
Andrea Arcangeli <andrea@suse.de>,
Michael Hohnbaum <hohnbaum@us.ibm.com>,
lse-tech <lse-tech@lists.sourceforge.net>
Subject: Re: [Lse-tech] [patch] SImple Topology API v0.3 (1/2)
Date: Thu, 22 Aug 2002 13:41:51 -0700 [thread overview]
Message-ID: <3D654C8F.30400@us.ibm.com> (raw)
In-Reply-To: 20020822202239.A30036@infradead.org
The file asm/mmzone.h needs to be included in both the CONFIG_DISCONTIGMEM and
!CONFIG_DISCONTIGMEM cases (at least after my patch). This just pulls the
#include out of the #ifdefs.
Cheers!
-Matt
Christoph Hellwig wrote:
> On Thu, Aug 22, 2002 at 12:13:23PM -0700, Matthew Dobson wrote:
>
>>--- linux-2.5.27-vanilla/include/linux/mmzone.h Sat Jul 20 12:11:05 2002
>>+++ linux-2.5.27-api/include/linux/mmzone.h Wed Jul 24 17:33:41 2002
>>@@ -220,15 +20,15 @@
>> #define NODE_MEM_MAP(nid) mem_map
>> #define MAX_NR_NODES 1
>>
>>-#else /* !CONFIG_DISCONTIGMEM */
>>-
>>-#include <asm/mmzone.h>
>>+#else /* CONFIG_DISCONTIGMEM */
>>
>> /* page->zone is currently 8 bits ... */
>> #define MAX_NR_NODES (255 / MAX_NR_ZONES)
>>
>> #endif /* !CONFIG_DISCONTIGMEM */
>>
>>+#include <asm/mmzone.h>
>>+
>
>
> What is the exact purpose of this change?
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Lse-tech mailing list
> Lse-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lse-tech
>
WARNING: multiple messages have this Message-ID (diff)
From: Matthew Dobson <colpatch@us.ibm.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@zip.com.au>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Martin Bligh <mjbligh@us.ibm.com>,
Andrea Arcangeli <andrea@suse.de>,
Michael Hohnbaum <hohnbaum@us.ibm.com>,
lse-tech <lse-tech@lists.sourceforge.net>
Subject: Re: [Lse-tech] [patch] SImple Topology API v0.3 (1/2)
Date: Thu, 22 Aug 2002 13:41:51 -0700 [thread overview]
Message-ID: <3D654C8F.30400@us.ibm.com> (raw)
In-Reply-To: 20020822202239.A30036@infradead.org
The file asm/mmzone.h needs to be included in both the CONFIG_DISCONTIGMEM and
!CONFIG_DISCONTIGMEM cases (at least after my patch). This just pulls the
#include out of the #ifdefs.
Cheers!
-Matt
Christoph Hellwig wrote:
> On Thu, Aug 22, 2002 at 12:13:23PM -0700, Matthew Dobson wrote:
>
>>--- linux-2.5.27-vanilla/include/linux/mmzone.h Sat Jul 20 12:11:05 2002
>>+++ linux-2.5.27-api/include/linux/mmzone.h Wed Jul 24 17:33:41 2002
>>@@ -220,15 +20,15 @@
>> #define NODE_MEM_MAP(nid) mem_map
>> #define MAX_NR_NODES 1
>>
>>-#else /* !CONFIG_DISCONTIGMEM */
>>-
>>-#include <asm/mmzone.h>
>>+#else /* CONFIG_DISCONTIGMEM */
>>
>> /* page->zone is currently 8 bits ... */
>> #define MAX_NR_NODES (255 / MAX_NR_ZONES)
>>
>> #endif /* !CONFIG_DISCONTIGMEM */
>>
>>+#include <asm/mmzone.h>
>>+
>
>
> What is the exact purpose of this change?
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Lse-tech mailing list
> Lse-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lse-tech
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2002-08-22 20:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-22 19:13 [patch] SImple Topology API v0.3 (1/2) Matthew Dobson
2002-08-22 19:22 ` [Lse-tech] " Christoph Hellwig
2002-08-22 19:22 ` Christoph Hellwig
2002-08-22 20:41 ` Matthew Dobson [this message]
2002-08-22 20:41 ` Matthew Dobson
2002-08-22 20:48 ` Christoph Hellwig
2002-08-22 20:48 ` Christoph Hellwig
2002-08-27 14:31 ` Pavel Machek
2002-08-27 14:31 ` Pavel Machek
2002-08-27 21:18 ` Andrea Arcangeli
2002-08-27 21:18 ` Andrea Arcangeli
2002-08-28 13:14 ` Thunder from the hill
2002-08-28 13:14 ` Thunder from the hill
2002-08-28 13:43 ` Remco Post
2002-08-28 13:49 ` Thunder from the hill
2002-08-28 14:09 ` Christoph Hellwig
2002-08-28 19:29 ` Pavel Machek
2002-08-28 19:29 ` Pavel Machek
2002-08-28 20:02 ` Thunder from the hill
2002-08-28 20:02 ` Thunder from the hill
2002-08-28 22:31 ` [Lse-tech] " Timothy D. Witham
2002-08-28 22:31 ` Timothy D. Witham
2002-08-28 22:40 ` Thunder from the hill
2002-08-28 22:40 ` Thunder from the hill
2002-08-28 22:42 ` Timothy D. Witham
2002-08-28 22:42 ` Timothy D. Witham
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=3D654C8F.30400@us.ibm.com \
--to=colpatch@us.ibm.com \
--cc=akpm@zip.com.au \
--cc=andrea@suse.de \
--cc=hch@infradead.org \
--cc=hohnbaum@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=mjbligh@us.ibm.com \
--cc=torvalds@transmeta.com \
/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.