|
@@ -329,7 +329,7 @@ InstructionTLBMiss:
|
|
/* If we are faulting a kernel address, we have to use the
|
|
/* If we are faulting a kernel address, we have to use the
|
|
* kernel page tables.
|
|
* kernel page tables.
|
|
*/
|
|
*/
|
|
-#ifdef CONFIG_MODULES
|
|
|
|
|
|
+#if defined(CONFIG_MODULES) || defined (CONFIG_DEBUG_PAGEALLOC)
|
|
/* Only modules will cause ITLB Misses as we always
|
|
/* Only modules will cause ITLB Misses as we always
|
|
* pin the first 8MB of kernel memory */
|
|
* pin the first 8MB of kernel memory */
|
|
mfspr r11, SPRN_SRR0 /* Get effective address of fault */
|
|
mfspr r11, SPRN_SRR0 /* Get effective address of fault */
|