diff mbox series

MIPS: pgtable: Remove used PAGE_USERIO define

Message ID 20201005112846.66430-2-tsbogend@alpha.franken.de (mailing list archive)
State Accepted
Commit 9b7224836965550649357732f7f0b63a5bfcc305
Headers show
Series MIPS: pgtable: Remove used PAGE_USERIO define | expand

Commit Message

Thomas Bogendoerfer Oct. 5, 2020, 11:28 a.m. UTC
There are no users of PAGE_USERIO.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
 arch/mips/include/asm/pgtable.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Thomas Bogendoerfer Oct. 6, 2020, 11:31 a.m. UTC | #1
On Mon, Oct 05, 2020 at 01:28:46PM +0200, Thomas Bogendoerfer wrote:
> There are no users of PAGE_USERIO.
> 
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
>  arch/mips/include/asm/pgtable.h | 2 --
>  1 file changed, 2 deletions(-)

applied to mips-next.

Thomas.
Huacai Chen Oct. 7, 2020, 2:11 a.m. UTC | #2
s/used/unused/g, but it is too late, I'm sorry.

Huacai

On Tue, Oct 6, 2020 at 7:31 PM Thomas Bogendoerfer
<tsbogend@alpha.franken.de> wrote:
>
> On Mon, Oct 05, 2020 at 01:28:46PM +0200, Thomas Bogendoerfer wrote:
> > There are no users of PAGE_USERIO.
> >
> > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> > ---
> >  arch/mips/include/asm/pgtable.h | 2 --
> >  1 file changed, 2 deletions(-)
>
> applied to mips-next.
>
> Thomas.
>
> --
> Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
> good idea.                                                [ RFC1925, 2.3 ]
Thomas Bogendoerfer Oct. 7, 2020, 6:44 a.m. UTC | #3
On Wed, Oct 07, 2020 at 10:11:46AM +0800, Huacai Chen wrote:
> s/used/unused/g, but it is too late, I'm sorry.

d'oh, I should probably wait a day longer before applying. Thank you for
your feedback.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h
index dd7a0f552cac..e5ef0fdd4838 100644
--- a/arch/mips/include/asm/pgtable.h
+++ b/arch/mips/include/asm/pgtable.h
@@ -37,8 +37,6 @@  struct vm_area_struct;
 				 _PAGE_GLOBAL | _page_cachable_default)
 #define PAGE_KERNEL_NC	__pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
 				 _PAGE_GLOBAL | _CACHE_CACHABLE_NONCOHERENT)
-#define PAGE_USERIO	__pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
-				 _page_cachable_default)
 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
 			__WRITEABLE | _PAGE_GLOBAL | _CACHE_UNCACHED)