qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 7152329] Fix a warning in sparc64-linux-user buil


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 7152329] Fix a warning in sparc64-linux-user build
Date: Mon, 27 Apr 2009 21:12:26 -0000

From: Blue Swirl <address@hidden>


diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index b434593..5f86b33 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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]