Thread (42 messages) 42 messages, 5 authors, 2007-02-15
STALE7061d

[PATCH 09/12] powerpc: remove bogus comment about page_is_ram

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-02-07 12:45:45
Also in: linux-pm

arch/powerpc/mm/mem.c states that page_is_ram is called by the code that
implements /dev/mem which isn't true. Remove the comment.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Paul Mackerras <redacted>

---
Please apply to the powerpc tree.
--- linux-2.6-git.orig/arch/powerpc/mm/mem.c	2007-02-07 02:55:30.496884289 +0100
+++ linux-2.6-git/arch/powerpc/mm/mem.c	2007-02-07 02:55:34.636884289 +0100
@@ -61,10 +61,6 @@ unsigned long memory_limit;
 extern void hash_preload(struct mm_struct *mm, unsigned long ea,
 			 unsigned long access, unsigned long trap);
 
-/*
- * This is called by /dev/mem to know if a given address has to
- * be mapped non-cacheable or not
- */
 int page_is_ram(unsigned long pfn)
 {
 	unsigned long paddr = (pfn << PAGE_SHIFT);

--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help