Commit 9c22a6239643c9687979871580677db57c681daa

Authored by Blue Swirl
1 parent 48e77a36

Fix a warning in sparc64-linux-user build

Showing 1 changed file with 1 additions and 1 deletions
target-sparc/op_helper.c
... ... @@ -39,7 +39,7 @@ do { printf("ASI: " fmt , ##args); } while (0)
39 39 #endif
40 40 #endif
41 41  
42   -#ifdef TARGET_SPARC64
  42 +#if defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY)
43 43 // Calculates TSB pointer value for fault page size 8k or 64k
44 44 static uint64_t ultrasparc_tsb_pointer(uint64_t tsb_register,
45 45 uint64_t tag_access_register,
... ...