lkml.org 
[lkml]   [2003]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [Lse-tech] 2.5.72-mjb2
From
Date
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.271 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site