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-15 18:44:30 +01:00
2008-07-15 18:44:39 +01:00
2008-07-24 10:47:30 -07:00
2008-07-15 18:44:30 +01:00
2008-07-25 10:53:30 -07:00
2008-04-28 17:14:32 +01:00
2008-07-15 18:44:34 +01:00
2008-05-12 16:46:55 +01:00
2008-07-20 14:38:18 +01:00
2008-07-15 18:44:38 +01:00
2008-07-15 18:44:36 +01:00
2008-07-20 14:38:22 +01:00
2008-07-30 21:54:41 +01:00
2008-07-15 18:44:36 +01:00
2008-07-04 08:22:15 +01:00
2008-07-15 18:44:32 +01:00
2008-07-20 14:38:18 +01:00
2008-07-20 14:38:18 +01:00
2008-09-05 21:24:11 +01:00
2008-04-28 17:14:26 +01:00
2008-05-12 16:46:52 +01:00
2008-06-16 15:14:48 +01:00
2008-07-15 18:44:28 +01:00
2008-05-01 08:03:58 -07:00
2008-07-26 12:00:03 -07:00
2008-04-28 17:14:32 +01:00
2008-07-20 14:38:17 +01:00
2008-04-30 08:29:52 -07:00
2008-04-28 17:14:26 +01:00
2008-06-16 15:14:48 +01:00
2008-07-15 18:44:29 +01:00
2008-07-30 21:54:42 +01:00
2008-08-15 08:35:42 -07:00
2008-07-30 21:54:42 +01:00
2008-04-28 17:14:26 +01:00
2008-06-05 18:13:15 +01:00
2008-07-24 10:47:21 -07:00
2008-07-30 21:54:36 +01:00
2008-09-24 00:26:55 +02:00
2008-06-16 15:14:47 +01:00
2008-06-05 18:13:14 +01:00
2008-07-24 10:47:21 -07:00
2008-04-28 17:14:26 +01:00
2008-06-05 18:13:16 +01:00
2008-07-20 14:38:19 +01:00
2008-07-15 18:44:30 +01:00
2008-04-28 17:14:26 +01:00
2008-06-26 11:22:57 +02:00
2008-04-28 17:14:26 +01:00
2008-04-28 17:14:26 +01:00
2008-07-24 10:47:27 -07:00
2008-07-25 10:53:28 -07: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-04-29 08:06:27 -07:00
2008-08-26 09:10:20 +01:00