ARC: mm: preps ahead of HIGHMEM support
authorVineet Gupta <vgupta@synopsys.com>
Thu, 5 Mar 2015 11:36:31 +0000 (17:06 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 28 Oct 2015 14:01:05 +0000 (19:31 +0530)
commit336e2136e1353db8e9e731c27381ee0735656a8a
treee386405627b5e1f68f04a1d4f854f3121b913d45
parentd40846457fc23cd841a60fdc2786e08a8bedb35b
ARC: mm: preps ahead of HIGHMEM support

Before we plug in highmem support, some of code needs to be ready for it
 - copy_user_highpage() needs to be using the kmap_atomic API
 - mk_pte() can't assume page_address()
 - do_page_fault() can't assume VMALLOC_END is end of kernel vaddr space

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/pgtable.h
arch/arc/mm/cache.c
arch/arc/mm/fault.c