SPARC64: split cpu_get_phys_page_debug() from cpu_get_phys_page_nofault()
authorTsuneo Saito <tsnsaito@gmail.com>
Thu, 21 Jul 2011 15:16:30 +0000 (00:16 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 21 Jul 2011 19:59:56 +0000 (19:59 +0000)
commitb64b64361413808bee8e6213095e2e3a18b3358f
tree95da8f5f01383bddd89f0db41fdfacee5f291451
parent321365ab1734cb151090fc0b5a7bef3b97807115
SPARC64: split cpu_get_phys_page_debug() from cpu_get_phys_page_nofault()

This patch makes cpu_get_phys_page_debug() independent from
cpu_get_phys_page_nofault() in advance of implementing nonfaulting load.
This also modifies cpu_get_phys_page_nofault() to be compiled only on
TARGET_SPARC64 because it is not required on SPARC32.

Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/cpu.h
target-sparc/helper.c