diff options
author | Ralf Baechle | 2007-08-01 16:27:36 +0200 |
---|---|---|
committer | Ralf Baechle | 2007-08-27 03:16:49 +0200 |
commit | 03b8b8e7c9c36e2d7c4bc9c63eeed872e6f01ad0 (patch) | |
tree | f8c1292baa969bd58c7efe975362c04e670a72d6 /arch/mips/kernel | |
parent | [MIPS] Fix computation of {PGD,PMD,PTE}_T_LOG2. (diff) | |
download | kernel-qcow2-linux-03b8b8e7c9c36e2d7c4bc9c63eeed872e6f01ad0.tar.gz kernel-qcow2-linux-03b8b8e7c9c36e2d7c4bc9c63eeed872e6f01ad0.tar.xz kernel-qcow2-linux-03b8b8e7c9c36e2d7c4bc9c63eeed872e6f01ad0.zip |
[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')
-rw-r--r-- | arch/mips/kernel/asm-offsets.c | 4 |
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; |