From: Sean Neakums <sneakums@zork.net>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
lse-tech <lse-tech@lists.sourceforge.net>
Subject: Re: [Lse-tech] 2.5.72-mjb2
Date: Thu, 19 Jun 2003 12:36:33 +0100 [thread overview]
Message-ID: <6ud6hawb7i.fsf@zork.zork.net> (raw)
In-Reply-To: <26110000.1056006164@[10.10.2.4]> (Martin J. Bligh's message of "Thu, 19 Jun 2003 00:02:44 -0700")
During build:
include/linux/mm.h: In function `page_to_nid':
include/linux/mm.h:620: warning: implicit declaration of function `pfn_to_nid'
This patch shuts it up, but I'm only guessing as to whether
page_to_nid is NUMA-specific.
--- C72-mjb2/include/linux/mm.h~ 2003-06-19 12:19:12.000000000 +0100
+++ C72-mjb2/include/linux/mm.h 2003-06-19 12:33:51.000000000 +0100
@@ -611,6 +611,7 @@
extern int remap_page_range(struct vm_area_struct *vma, unsigned long from,
unsigned long to, unsigned long size, pgprot_t prot);
+#ifdef CONFIG_NUMA
/*
* Given a struct page, determine which node's memory it is from.
* TODO: There's probably a more efficient way to do this...
@@ -620,7 +621,6 @@
return pfn_to_nid(page_to_pfn(page));
}
-#ifdef CONFIG_NUMA
static inline void zero_rss(struct mm_struct *mm)
{
mm->rss = 0;
prev parent reply other threads:[~2003-06-19 11:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 7:02 2.5.72-mjb2 Martin J. Bligh
2003-06-19 11:36 ` Sean Neakums [this message]
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=6ud6hawb7i.fsf@zork.zork.net \
--to=sneakums@zork.net \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=mbligh@aracnet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox