[MIPS] Fix computation of {PGD,PMD,PTE}_T_LOG2.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 1 Aug 2007 14:25:28 +0000 (15:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Aug 2007 01:16:48 +0000 (02:16 +0100)
commit5ff974720abec255c17af6f3732dd410d364e367
tree8656406ff66bd84058eddb8bbd1d7e5473985a43
parent4c8081e4696c7afc61930e4a49a6fa55c545b7e0
[MIPS] Fix computation of {PGD,PMD,PTE}_T_LOG2.

For the generation of asm-offset.h to work these need to be evaulatable
by gcc as a constant expression.  This issue did exist for a while but
didn't bite because they're only in asm-offset.h for debugging purposes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/pgtable.h