The patch titled
powerpc: invalid size for swapper_pg_dir with CONFIG_PTE_64BIT=y
has been removed from the -mm tree. Its filename was
powerpc-invalid-size-for-swapper_pg_dir-with-config_pte_64bit=y.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
Subject: powerpc: invalid size for swapper_pg_dir with CONFIG_PTE_64BIT=y
From: "Cedric Hombourger" <[EMAIL PROTECTED]>
The size of swapper_pg_dir is 8k instead of 4k when using 64-bit PTEs
(CONFIG_PTE_64BIT). Checked by printing the size of this variable from C
code. Kernel successfuly transferred control to init with this change
while it was crashing in map_page() before.
Signed-off-by: Cedric Hombourger <[EMAIL PROTECTED]>
Cc: Kumar Gala <[EMAIL PROTECTED]>
Cc: Paul Mackerras <[EMAIL PROTECTED]>
Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/head_fsl_booke.S | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff -puN
arch/powerpc/kernel/head_fsl_booke.S~powerpc-invalid-size-for-swapper_pg_dir-with-config_pte_64bit=y
arch/powerpc/kernel/head_fsl_booke.S
---
a/arch/powerpc/kernel/head_fsl_booke.S~powerpc-invalid-size-for-swapper_pg_dir-with-config_pte_64bit=y
+++ a/arch/powerpc/kernel/head_fsl_booke.S
@@ -1035,7 +1035,11 @@ empty_zero_page:
.space 4096
.globl swapper_pg_dir
swapper_pg_dir:
- .space 4096
+#ifdef CONFIG_PTE_64BIT
+ .space 8192
+#else
+ .space 4096
+#endif
/* Reserved 4k for the critical exception stack & 4k for the machine
* check stack per CPU for kernel mode exceptions */
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
powerpc-invalid-size-for-swapper_pg_dir-with-config_pte_64bit=y.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html