target-ppc: Mark SR() and gen_sync_exception() as !CONFIG_USER_ONLY
commit466976d9eed8d618aed93cb1fac04845e86253cf
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Dec 2014 22:22:15 +0000 (23 22:22 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:28 +0000 (7 16:16 +0100)
tree82a94fc3e6f3bc1ecca26b8c838b19f91d9582e2
parent82e345f57e6482cef960677613125c5aaf2b1654
target-ppc: Mark SR() and gen_sync_exception() as !CONFIG_USER_ONLY

The functions SR() and gen_sync_exception() are only used in softmmu
configs; wrap them in #ifndef CONFIG_USER_ONLY to suppress clang warnings
on the linux-user builds.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c