diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-04-25 16:28:27 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-04-25 16:28:27 +0000 |
commit | 9c22a6239643c9687979871580677db57c681daa (patch) | |
tree | 7152329cb0ec7da70779023e062149b00a893fc2 /target-sparc | |
parent | 48e77a3653916860a4748e984b99e0f59c820e57 (diff) | |
download | qemu-9c22a6239643c9687979871580677db57c681daa.tar.gz qemu-9c22a6239643c9687979871580677db57c681daa.tar.bz2 qemu-9c22a6239643c9687979871580677db57c681daa.zip |
Fix a warning in sparc64-linux-user build
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index b434593b29..5f86b33043 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -39,7 +39,7 @@ do { printf("ASI: " fmt , ##args); } while (0) #endif #endif -#ifdef TARGET_SPARC64 +#if defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY) // Calculates TSB pointer value for fault page size 8k or 64k static uint64_t ultrasparc_tsb_pointer(uint64_t tsb_register, uint64_t tag_access_register, |