Message ID | 20180531043349.24783-3-benh@kernel.crashing.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 30c69ca0486fd73f2e5d40096ee68bfaed469b76 |
Headers | show |
Series | [RFC,01/11] powerpc/prom_init: Make of_workarounds static | expand |
On Thu, 2018-05-31 at 04:33:40 UTC, Benjamin Herrenschmidt wrote: > It is never modified > > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/30c69ca0486fd73f2e5d40096ee68b cheers
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index d6f52cc141c3..158f9ece064e 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -897,7 +897,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 {
It is never modified Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- arch/powerpc/kernel/prom_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)