Skip to content
Commit e8a75963 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

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: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 049e6dde
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment