tree 992c10c0a2512dc7d63647312fcd2790af105e8e
parent 041f5f8da1df203b8f208cd1afa4f4c3bd843f30
author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Tue Apr 12 08:24:33 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:24:33 2005

[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]>

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

Index: arch/arm/mm/init.c
===================================================================
--- b5eb725f61202e9a238c538972f1d89387b40d22/arch/arm/mm/init.c  (mode:100644 
sha1:e89cebad6b0c383db727de811ed61acf1187b44d)
+++ 992c10c0a2512dc7d63647312fcd2790af105e8e/arch/arm/mm/init.c  (mode:100644 
sha1:a49a8ae4d91bbfa0db67c7f049a31e1c147e891a)
@@ -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