tree 41cd169ef17e4388189a0f1c46abe88375a7ddd5
parent 7a228aaa879c119c9fb9b9d7e062ac13cb1a9079
author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:23:57 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:23:57 -0700

[PATCH] arm: add comment about max_low_pfn/max_pfn


)


From: Russell King <[EMAIL PROTECTED]>

Oddly, max_low_pfn/max_pfn end up being the number of pages in the system,
rather than the maximum PFN on ARM.  This doesn't seem to cause any problems,
so just add a note about it.

Signed-off-by: Russell King <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 arm/mm/init.c |    3 +++
 1 files changed, 3 insertions(+)

Index: arch/arm/mm/init.c
===================================================================
--- 7a79aef406aa44dcbe887e69656aef61ed98dd9a/arch/arm/mm/init.c  (mode:100644 
sha1:41156c5370f74aaaab71d3e729a7f2af7004d515)
+++ 41cd169ef17e4388189a0f1c46abe88375a7ddd5/arch/arm/mm/init.c  (mode:100644 
sha1:72a2b8cee319c9c2c09e71d76fc397165d6f7cec)
@@ -223,6 +223,9 @@
         * This doesn't seem to be used by the Linux memory
         * manager any more.  If we can get rid of it, we
         * also get rid of some of the stuff above as well.
+        *
+        * Note: max_low_pfn and max_pfn reflect the number
+        * of _pages_ in the system, not the maximum PFN.
         */
        max_low_pfn = memend_pfn - O_PFN_DOWN(PHYS_OFFSET);
        max_pfn = memend_pfn - O_PFN_DOWN(PHYS_OFFSET);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to