diff options
author | Benjamin Gray <bgray@linux.ibm.com> | 2023-10-11 08:37:05 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-10-19 09:12:47 +0300 |
commit | 2b4a6cc9a1a7cf6958c8b11f94e61c8e81b60b88 (patch) | |
tree | d3385cc0ab0449bb9bf2c31051b0bbba40d3e66f /arch/powerpc/kexec/core_64.c | |
parent | 419d5d112c2e1e78beda9c3299f71c35141d8dba (diff) | |
download | linux-2b4a6cc9a1a7cf6958c8b11f94e61c8e81b60b88.tar.xz |
powerpc: Annotate endianness of various variables and functions
Sparse reports several endianness warnings on variables and functions
that are consistently treated as big endian. There are no
multi-endianness shenanigans going on here so fix these low hanging
fruit up in one patch.
All changes are just type annotations; no endianness switching
operations are introduced by this patch.
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231011053711.93427-7-bgray@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kexec/core_64.c')
-rw-r--r-- | arch/powerpc/kexec/core_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kexec/core_64.c b/arch/powerpc/kexec/core_64.c index a79e28c91e2b..0bee7ca9a77c 100644 --- a/arch/powerpc/kexec/core_64.c +++ b/arch/powerpc/kexec/core_64.c @@ -379,8 +379,8 @@ void default_machine_kexec(struct kimage *image) #ifdef CONFIG_PPC_64S_HASH_MMU /* Values we need to export to the second kernel via the device tree. */ -static unsigned long htab_base; -static unsigned long htab_size; +static __be64 htab_base; +static __be64 htab_size; static struct property htab_base_prop = { .name = "linux,htab-base", |