diff options
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 4f36987eea72..2da841110727 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -121,7 +121,7 @@ lazy_mmu_prot_update (pte_t pte) | |||
121 | return; /* i-cache is already coherent with d-cache */ | 121 | return; /* i-cache is already coherent with d-cache */ |
122 | 122 | ||
123 | if (PageCompound(page)) { | 123 | if (PageCompound(page)) { |
124 | order = (unsigned long) (page[1].lru.prev); | 124 | order = compound_order(page); |
125 | flush_icache_range(addr, addr + (1UL << order << PAGE_SHIFT)); | 125 | flush_icache_range(addr, addr + (1UL << order << PAGE_SHIFT)); |
126 | } | 126 | } |
127 | else | 127 | else |