mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
exec: Rename target_words_bigendian() -> target_big_endian()
In commit98ed8ecfc9
("exec: introduce target_words_bigendian() helper") target_words_bigendian() was matching the definition it was depending on (TARGET_WORDS_BIGENDIAN). Later in commitee3eb3a7ce
("Replace TARGET_WORDS_BIGENDIAN") the definition was renamed as TARGET_BIG_ENDIAN but we didn't update the helper. Do it now mechanically using: $ sed -i -e s/target_words_bigendian/target_big_endian/g \ $(git grep -wl target_words_bigendian) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20250417210025.68322-1-philmd@linaro.org>
This commit is contained in:
parent
d4a785ba30
commit
b939b8e42a
8 changed files with 15 additions and 15 deletions
|
@ -133,7 +133,7 @@ bool cpu_virtio_is_big_endian(CPUState *cpu)
|
|||
if (cpu->cc->sysemu_ops->virtio_is_big_endian) {
|
||||
return cpu->cc->sysemu_ops->virtio_is_big_endian(cpu);
|
||||
}
|
||||
return target_words_bigendian();
|
||||
return target_big_endian();
|
||||
}
|
||||
|
||||
GuestPanicInformation *cpu_get_crash_info(CPUState *cpu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue