summaryrefslogtreecommitdiffstats
path: root/arch/tile/mm/fault.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-09-11 13:57:15 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-09-13 11:15:24 -0400
commit4b12909fd137d9a236e4b5c76e0d4b44c2b7f49f (patch)
treeac84a6bd0165b927a7ce6094df3c4df5acb36b10 /arch/tile/mm/fault.c
parent8629470ef89da00bd1b974df17ccbb36b3865798 (diff)
downloadlinux-4b12909fd137d9a236e4b5c76e0d4b44c2b7f49f.tar.bz2
tile: remove HUGE_VMAP dead code
A config option to allow a variant vmap() using huge pages that was never upstreamed had some bits of code related to it scattered around the tile architecture; the config option was removed downstream and this commit cleans up the scattered evidence of it from the upstream as well. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/mm/fault.c')
-rw-r--r--arch/tile/mm/fault.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c
index 4c288f199453..6c0571216a9d 100644
--- a/arch/tile/mm/fault.c
+++ b/arch/tile/mm/fault.c
@@ -149,8 +149,6 @@ static inline int vmalloc_fault(pgd_t *pgd, unsigned long address)
pmd_k = vmalloc_sync_one(pgd, address);
if (!pmd_k)
return -1;
- if (pmd_huge(*pmd_k))
- return 0; /* support TILE huge_vmap() API */
pte_k = pte_offset_kernel(pmd_k, address);
if (!pte_present(*pte_k))
return -1;