aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2014-09-19 04:36:09 -0400
committerScott Wood <scottwood@freescale.com>2014-11-07 19:10:42 -0500
commit959d6173b5cccceff47cc2d25feeaac2f96df0e0 (patch)
tree7cbd7b7d440a3849967da97ccf0c738a3adf15b2 /arch/powerpc/kernel
parentac21951fa8a356e2aab6e93a61aa99b561100e67 (diff)
powerpc/8xx: Implement 16k pages
This patch activates the handling of 16k pages on the MPC8xx. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/head_8xx.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S
index 38efa8622176..84b0b9778065 100644
--- a/arch/powerpc/kernel/head_8xx.S
+++ b/arch/powerpc/kernel/head_8xx.S
@@ -45,7 +45,11 @@
45 * Value for the bits that have fixed value in RPN entries. 45 * Value for the bits that have fixed value in RPN entries.
46 * Also used for tagging DAR for DTLBerror. 46 * Also used for tagging DAR for DTLBerror.
47 */ 47 */
48#ifdef CONFIG_PPC_16K_PAGES
49#define RPN_PATTERN (0x00f0 | MD_SPS16K)
50#else
48#define RPN_PATTERN 0x00f0 51#define RPN_PATTERN 0x00f0
52#endif
49 53
50 __HEAD 54 __HEAD
51_ENTRY(_stext); 55_ENTRY(_stext);