MIPS: Include PAGE_S{IZE,HIFT} in <asm/offset.h>.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 28 Dec 2012 14:12:59 +0000 (15:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 28 Dec 2012 16:04:10 +0000 (17:04 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/asm-offsets.c

index 9690998d4ef3e9e99b5628cbb4bf297c90158a10..50285b2c7ffe30d5a54d877f7f0cac075dd59f8c 100644 (file)
@@ -200,6 +200,9 @@ void output_mm_defines(void)
        DEFINE(_PTRS_PER_PMD, PTRS_PER_PMD);
        DEFINE(_PTRS_PER_PTE, PTRS_PER_PTE);
        BLANK();
+       DEFINE(_PAGE_SHIFT, PAGE_SHIFT);
+       DEFINE(_PAGE_SIZE, PAGE_SIZE);
+       BLANK();
 }
 
 #ifdef CONFIG_32BIT