diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index fcdae537a28f09e894686d758652a894ca19c1c5..2df8d9facf5741c060bb9f028c93b7c3bbe33a6e 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -72,9 +72,8 @@ void show_pte(struct mm_struct *mm, unsigned long addr) } pmd = pmd_offset(pgd, addr); -#if PTRS_PER_PMD != 1 - printk(", *pmd=%08lx", pmd_val(*pmd)); -#endif + if (PTRS_PER_PMD != 1) + printk(", *pmd=%08lx", pmd_val(*pmd)); if (pmd_none(*pmd)) break;