aboutsummaryrefslogtreecommitdiffstats
path: root/target-sparc
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index b434593b2..5f86b3304 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,