Fix call_pal() prototype for alpha system emulation
[qemu] / target-alpha / cpu.h
index 3d39888..a14c6ca 100644 (file)
@@ -411,7 +411,11 @@ int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp);
 int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp);
 void cpu_loop_exit (void);
 void pal_init (CPUState *env);
+#if !defined (CONFIG_USER_ONLY)
+void call_pal (CPUState *env);
+#else
 void call_pal (CPUState *env, int palcode);
+#endif
 
 #define CPU_PC_FROM_TB(env, tb) env->pc = tb->pc