mirror of
https://github.com/qemu/qemu.git
synced 2025-08-15 05:06:56 +00:00
hw/ppc/spapr_hcall.c: Fix typo in function names
Fix a typo in the names of a couple of functions (s/resouce/resource/). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
145855801a
commit
7d0cd464a7
@ -712,7 +712,7 @@ static target_ulong h_logical_dcbf(PowerPCCPU *cpu, sPAPREnvironment *spapr,
|
|||||||
return H_SUCCESS;
|
return H_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
static target_ulong h_set_mode_resouce_le(PowerPCCPU *cpu,
|
static target_ulong h_set_mode_resource_le(PowerPCCPU *cpu,
|
||||||
target_ulong mflags,
|
target_ulong mflags,
|
||||||
target_ulong value1,
|
target_ulong value1,
|
||||||
target_ulong value2)
|
target_ulong value2)
|
||||||
@ -743,7 +743,7 @@ static target_ulong h_set_mode_resouce_le(PowerPCCPU *cpu,
|
|||||||
return H_UNSUPPORTED_FLAG;
|
return H_UNSUPPORTED_FLAG;
|
||||||
}
|
}
|
||||||
|
|
||||||
static target_ulong h_set_mode_resouce_addr_trans_mode(PowerPCCPU *cpu,
|
static target_ulong h_set_mode_resource_addr_trans_mode(PowerPCCPU *cpu,
|
||||||
target_ulong mflags,
|
target_ulong mflags,
|
||||||
target_ulong value1,
|
target_ulong value1,
|
||||||
target_ulong value2)
|
target_ulong value2)
|
||||||
@ -794,10 +794,10 @@ static target_ulong h_set_mode(PowerPCCPU *cpu, sPAPREnvironment *spapr,
|
|||||||
|
|
||||||
switch (resource) {
|
switch (resource) {
|
||||||
case H_SET_MODE_RESOURCE_LE:
|
case H_SET_MODE_RESOURCE_LE:
|
||||||
ret = h_set_mode_resouce_le(cpu, args[0], args[2], args[3]);
|
ret = h_set_mode_resource_le(cpu, args[0], args[2], args[3]);
|
||||||
break;
|
break;
|
||||||
case H_SET_MODE_RESOURCE_ADDR_TRANS_MODE:
|
case H_SET_MODE_RESOURCE_ADDR_TRANS_MODE:
|
||||||
ret = h_set_mode_resouce_addr_trans_mode(cpu, args[0],
|
ret = h_set_mode_resource_addr_trans_mode(cpu, args[0],
|
||||||
args[2], args[3]);
|
args[2], args[3]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user