Files
kernel/include/asm-mips
Jack Tan 5291925a9a [MIPS] Fixe the definition of PTRS_PER_PGD
When we use > 4KB's page size the original definition is not consistent
with PGDIR_SIZE. For exeample, if we use 16KB page size the PGDIR_SHIFT is
(14-2) + 14 = 26, PGDIR_SIZE is 2^26,so the PTRS_PER_PGD should be:

	2^32/2^26 = 2^6

but the original definition of PTRS_PER_PGD is 4096 (PGDIR_ORDER = 0).

So, this definition needs to be consistent with the PGDIR_SIZE.

And the new definition is consistent with the PGD init in pagetable_init().

Signed-off-by: Dajie Tan <jiankemeng@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-09-24 00:26:55 +02:00
..
2008-07-30 21:54:41 +01:00
2008-07-15 18:44:36 +01:00
2008-07-15 18:44:28 +01:00
2008-05-01 08:03:58 -07:00
2008-04-28 17:14:32 +01:00
2008-07-15 18:44:29 +01:00
2008-07-30 21:54:36 +01:00
2008-06-05 18:13:16 +01:00
2008-07-15 18:44:29 +01:00
2008-07-30 21:54:34 +01:00
2008-04-28 17:14:31 +01:00
2008-05-04 14:45:55 -07:00
2008-08-26 09:10:20 +01:00