summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Perez Olivares <x0081762@ti.com>2010-03-18 15:41:24 -0600
committerRicardo Perez Olivares <x0081762@ti.com>2010-03-18 15:41:24 -0600
commit30cd5528f0dfbf2d8f548a885e62243a750c7bdf (patch)
tree07cf146687bb8ada046107613a6fd7989cb9bf3c
parent38a5c8fd36523275a7d95b2cccd29666e5321dcb (diff)
Revert "ARMv7: Correct the page attributes for v7 based architectures"
This reverts commit 981b95d67bd73a27ca6f09ea7315261b03782b29.
-rw-r--r--arch/arm/include/asm/pgtable.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index 85634c5ff183..11397687f42c 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -310,13 +310,8 @@ static inline pte_t pte_mkspecial(pte_t pte) { return pte; }
/*
* Mark the prot value as uncacheable and unbufferable.
*/
-#if __LINUX_ARM_ARCH__ >= 7
-#define pgprot_noncached(prot) \
- __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
-#else
#define pgprot_noncached(prot) \
__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
-#endif
#define pgprot_writecombine(prot) \
__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
#if __LINUX_ARM_ARCH__ >= 7