Skip to contentSkip to conversation

target/hppa: Remove duplicated CPU_RESOLVING_TYPE definition

PATCH In review Philippe Mathieu-Daudé 2 participants 2 messages Mar 21, 2025 – Mar 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/hppa: Remove duplicated CPU_RESOLVING_TYPE definition

The CPU_RESOLVING_TYPE definition was added in commit 0dacec874fa ("cpu: add CPU_RESOLVING_TYPE macro"), but then added again in commit d3ae32d4d20. Remove the duplication.

Fixes d3ae32d4d20 ("target/hppa: Implement cpu_list")
---
 target/hppa/cpu.h | 2 --
 1 file changed, 2 deletions(-)
target/hppa/cpu.h +0 -2
index 7be4a1d3800..8b36642b591 100644
@@ -391,6 +391,4 @@ void hppa_cpu_alarm_timer(void *);
 #endif
 G_NORETURN void hppa_dynamic_excp(CPUHPPAState *env, int excp, uintptr_t ra);
 
-#define CPU_RESOLVING_TYPE TYPE_HPPA_CPU
-
 #endif /* HPPA_CPU_H */
Signature · 1 line
2.47.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · Philippe Mathieu-Daudé

The CPU_RESOLVING_TYPE definition was added in commit 0dacec874fa ("cpu: add CPU_RESOLVING_TYPE macro"), but then added again in commit d3ae32d4d20. Remove the duplication.

Fixes d3ae32d4d20 ("target/hppa: Implement cpu_list")
---
  target/hppa/cpu.h | 2 --
  1 file changed, 2 deletions(-)
target/hppa/cpu.h +0 -0
index 7be4a1d3800..8b36642b591 100644

target/hppa/cpu.h void hppa_cpu_alarm_timer(void *); · line 394

Quoted 6 lines
target/hppa/cpu.h +0 -2
@@ -391,6 +391,4 @@ void hppa_cpu_alarm_timer(void *);
  #endif
  G_NORETURN void hppa_dynamic_excp(CPUHPPAState *env, int excp, uintptr_t ra);
 
-#define CPU_RESOLVING_TYPE TYPE_HPPA_CPU
-
  #endif /* HPPA_CPU_H */

r~