| To: | Ralf Baechle <ralf@linux-mips.org>, David Daney <ddaney@caviumnetworks.com> |
|---|---|
| Subject: | [PATCH 4/4] MIPS: Remove unused PAGE_* definitions |
| From: | Kevin Cernekee <cernekee@gmail.com> |
| Date: | Sat, 16 Apr 2011 09:44:32 -0700 |
| Cc: | linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
| In-reply-to: | <7aa38c32b7748a95e814e5bb0583f967@localhost> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <7aa38c32b7748a95e814e5bb0583f967@localhost> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | vim 7.2 |
PAGE_{NONE,READONLY,COPY,SHARED} are no longer needed after refactoring
setup_protection_map() to explicitly list r/w/x permissions.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
arch/mips/include/asm/pgtable.h | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h
index 0b3e7c6..718991c 100644
--- a/arch/mips/include/asm/pgtable.h
+++ b/arch/mips/include/asm/pgtable.h
@@ -21,13 +21,6 @@
struct mm_struct;
struct vm_area_struct;
-#define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT)
-#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
- _page_cachable_default)
-#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_NO_EXEC | \
- _page_cachable_default)
-#define PAGE_READONLY __pgprot(_PAGE_PRESENT | \
- _page_cachable_default)
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
_PAGE_GLOBAL | _page_cachable_default)
#define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
--
1.7.4.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/4] MIPS: Clean up protection_map[] initialization, Kevin Cernekee |
|---|---|
| Next by Date: | [PATCH 2/3] MIPS: Set ELF AT_PLATFORM string for BMIPS processors, Kevin Cernekee |
| Previous by Thread: | [PATCH 3/4] MIPS: Clean up protection_map[] initialization, Kevin Cernekee |
| Next by Thread: | Re: [PATCH 1/4] MIPS: Replace _PAGE_READ with _PAGE_NO_READ, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |