X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm26%2Fmm%2Finit.c;h=562fac12eb95762dc3e7ed0f5b089a49e42b1690;hb=c0bc8721b8d0380ec69fa97578c91201201b05a9;hp=e3ecaa4537478d8cb8c9f47f114f9eae76d46228;hpb=2e1ca21d46aaef95101723fa402f39d3a95aba59;p=pandora-kernel.git diff --git a/arch/arm26/mm/init.c b/arch/arm26/mm/init.c index e3ecaa453747..562fac12eb95 100644 --- a/arch/arm26/mm/init.c +++ b/arch/arm26/mm/init.c @@ -7,7 +7,6 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include #include #include #include @@ -23,6 +22,7 @@ #include #include #include +#include #include #include @@ -101,12 +101,6 @@ struct node_info { int bootmap_pages; }; -#define PFN_DOWN(x) ((x) >> PAGE_SHIFT) -#define PFN_UP(x) (PAGE_ALIGN(x) >> PAGE_SHIFT) -#define PFN_SIZE(x) ((x) >> PAGE_SHIFT) -#define PFN_RANGE(s,e) PFN_SIZE(PAGE_ALIGN((unsigned long)(e)) - \ - (((unsigned long)(s)) & PAGE_MASK)) - /* * FIXME: We really want to avoid allocating the bootmap bitmap * over the top of the initrd. Hopefully, this is located towards