ARC: mm: do_page_fault refactor #3: tidyup vma access permission code
authorVineet Gupta <vgupta@synopsys.com>
Tue, 14 May 2019 21:25:54 +0000 (14:25 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 1 Jul 2019 18:02:22 +0000 (11:02 -0700)
commit85c5e33763a731967ca59085ffe6e694f872d38e
tree76abf68dd64252615a39fe966bd574ae04159803
parent13e2cc1240eb14d1a08b2c32f88b25bf20210ebc
ARC: mm: do_page_fault refactor #3: tidyup vma access permission code

The coding pattern to NOT intialize variables at declaration time but
rather near code which makes us eof them makes it much easier to grok
the overall logic, specially when the init is not simply 0 or 1

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/fault.c