Re: [PATCH 07/24] powerpc/mm: Move out definition of CPU specific is_write bits

2017-07-24 Thread Michael Ellerman
LEROY Christophe writes: > Benjamin Herrenschmidt a écrit : > >> Define a common page_fault_is_write() helper and use it >> >> Signed-off-by: Benjamin Herrenschmidt >> --- >> arch/powerpc/mm/fault.c | 18 +++--- >> 1 file changed, 11 insertions(+), 7 deletions(-) >> >> diff --git a

Re: [PATCH 07/24] powerpc/mm: Move out definition of CPU specific is_write bits

2017-07-22 Thread Benjamin Herrenschmidt
On Sat, 2017-07-22 at 18:40 +0200, LEROY Christophe wrote: > Benjamin Herrenschmidt a écrit : > > > Define a common page_fault_is_write() helper and use it > > > > Signed-off-by: Benjamin Herrenschmidt > > --- > > arch/powerpc/mm/fault.c | 18 +++--- > > 1 file changed, 11 insertio

Re: [PATCH 07/24] powerpc/mm: Move out definition of CPU specific is_write bits

2017-07-22 Thread LEROY Christophe
Benjamin Herrenschmidt a écrit : Define a common page_fault_is_write() helper and use it Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/mm/fault.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c

[PATCH 07/24] powerpc/mm: Move out definition of CPU specific is_write bits

2017-07-18 Thread Benjamin Herrenschmidt
Define a common page_fault_is_write() helper and use it Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/mm/fault.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c index f257965b54b5..26ec0dd4f419 100