diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-05-31 14:33:40 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-14 18:04:09 +1100 |
commit | 30c69ca0486fd73f2e5d40096ee68bfaed469b76 (patch) | |
tree | 4c5a076ae148b8fd5f3f3e6094395b75debcef5a /arch/powerpc | |
parent | 3bad719b495467a7e7023c5b26f0f5a523a4a193 (diff) | |
download | linux-30c69ca0486fd73f2e5d40096ee68bfaed469b76.tar.bz2 |
powerpc/prom_init: Make "fake_elf" const
It is never modified
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index f5b682094bde..0096a53d03da 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -922,7 +922,7 @@ struct ibm_arch_vec __cacheline_aligned ibm_architecture_vec = { /* Old method - ELF header with PT_NOTE sections only works on BE */ #ifdef __BIG_ENDIAN__ -static struct fake_elf { +static const struct fake_elf { Elf32_Ehdr elfhdr; Elf32_Phdr phdr[2]; struct chrpnote { |