summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-01 18:27:36 +0400
committerRalf Baechle <ralf@linux-mips.org>2007-08-27 05:16:49 +0400
commit03b8b8e7c9c36e2d7c4bc9c63eeed872e6f01ad0 (patch)
treef8c1292baa969bd58c7efe975362c04e670a72d6 /arch/mips/kernel/asm-offsets.c
parent5ff974720abec255c17af6f3732dd410d364e367 (diff)
downloadlinux-03b8b8e7c9c36e2d7c4bc9c63eeed872e6f01ad0.tar.xz
[MIPS] Extract {PGD,PMD,PTE}_ORDER into asm-offset.h
For debugging purposes only. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/asm-offsets.c')
-rw-r--r--arch/mips/kernel/asm-offsets.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c
index 013327286c26..ca136298acdc 100644
--- a/arch/mips/kernel/asm-offsets.c
+++ b/arch/mips/kernel/asm-offsets.c
@@ -232,6 +232,10 @@ void output_mm_defines(void)
constant("#define _PMD_T_LOG2 ", PMD_T_LOG2);
constant("#define _PTE_T_LOG2 ", PTE_T_LOG2);
linefeed;
+ constant("#define _PGD_ORDER ", PGD_ORDER);
+ constant("#define _PMD_ORDER ", PMD_ORDER);
+ constant("#define _PTE_ORDER ", PTE_ORDER);
+ linefeed;
constant("#define _PMD_SHIFT ", PMD_SHIFT);
constant("#define _PGDIR_SHIFT ", PGDIR_SHIFT);
linefeed;