diff options
Diffstat (limited to 'arch/powerpc/kernel/eeh.c')
-rw-r--r-- | arch/powerpc/kernel/eeh.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c index a4c62eb0ee48..44b480e3a5af 100644 --- a/arch/powerpc/kernel/eeh.c +++ b/arch/powerpc/kernel/eeh.c | |||
@@ -334,9 +334,11 @@ static inline unsigned long eeh_token_to_phys(unsigned long token) | |||
334 | int hugepage_shift; | 334 | int hugepage_shift; |
335 | 335 | ||
336 | /* | 336 | /* |
337 | * We won't find hugepages here, iomem | 337 | * We won't find hugepages here(this is iomem). Hence we are not |
338 | * worried about _PAGE_SPLITTING/collapse. Also we will not hit | ||
339 | * page table free, because of init_mm. | ||
338 | */ | 340 | */ |
339 | ptep = find_linux_pte_or_hugepte(init_mm.pgd, token, &hugepage_shift); | 341 | ptep = __find_linux_pte_or_hugepte(init_mm.pgd, token, &hugepage_shift); |
340 | if (!ptep) | 342 | if (!ptep) |
341 | return token; | 343 | return token; |
342 | WARN_ON(hugepage_shift); | 344 | WARN_ON(hugepage_shift); |