ARC: mm: switch pgtable_to to pte_t *
authorVineet Gupta <vgupta@synopsys.com>
Fri, 28 Aug 2015 03:09:57 +0000 (08:39 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 9 Oct 2015 11:34:22 +0000 (17:04 +0530)
commite8a75963a4b9433dca55286e222f4dd1cc1ca76c
tree2621e0ee34caa568d0e7a3b8b6a555f1002183e5
parent049e6dde7e57f0054fdc49102e7ef4830c698b46
ARC: mm: switch pgtable_to to pte_t *

ARC is the only arch with unsigned long type (vs. struct page *).
Historically this was done to avoid the page_address() calls in various
arch hooks which need to get the virtual/logical address of the table.

Some arches alternately define it as pte_t *, and is as efficient as
unsigned long (generated code doesn't change)

Suggested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/page.h
arch/arc/include/asm/pgalloc.h