diff options
Diffstat (limited to 'arch/tile/mm/homecache.c')
-rw-r--r-- | arch/tile/mm/homecache.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/tile/mm/homecache.c b/arch/tile/mm/homecache.c index cd3387370ebb..0029b3fb651b 100644 --- a/arch/tile/mm/homecache.c +++ b/arch/tile/mm/homecache.c | |||
@@ -263,10 +263,6 @@ static int pte_to_home(pte_t pte) | |||
263 | /* Update the home of a PTE if necessary (can also be used for a pgprot_t). */ | 263 | /* Update the home of a PTE if necessary (can also be used for a pgprot_t). */ |
264 | pte_t pte_set_home(pte_t pte, int home) | 264 | pte_t pte_set_home(pte_t pte, int home) |
265 | { | 265 | { |
266 | /* Check for non-linear file mapping "PTEs" and pass them through. */ | ||
267 | if (pte_file(pte)) | ||
268 | return pte; | ||
269 | |||
270 | #if CHIP_HAS_MMIO() | 266 | #if CHIP_HAS_MMIO() |
271 | /* Check for MMIO mappings and pass them through. */ | 267 | /* Check for MMIO mappings and pass them through. */ |
272 | if (hv_pte_get_mode(pte) == HV_PTE_MODE_MMIO) | 268 | if (hv_pte_get_mode(pte) == HV_PTE_MODE_MMIO) |