diff options
author | Philipp Rudo <prudo@linux.vnet.ibm.com> | 2018-04-14 01:36:21 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-14 03:10:28 +0300 |
commit | 961d921a1b967f76e13f9e11f2b0c2bcb5741f10 (patch) | |
tree | 4934f6507ab82fa24bed42bd7ae71640bd5aeb3f /samples/kfifo/record-example.c | |
parent | 65c225d3280542f3ea145e052215ce0538f6bb69 (diff) | |
download | linux-961d921a1b967f76e13f9e11f2b0c2bcb5741f10.tar.xz |
kernel/kexec_file.c: search symbols in read-only kexec_purgatory
The stripped purgatory does not contain a symtab. So when looking for
symbols this is done in read-only kexec_purgatory. Highlight this by
marking the corresponding variables as 'const'.
Link: http://lkml.kernel.org/r/20180321112751.22196-5-prudo@linux.vnet.ibm.com
Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com>
Acked-by: Dave Young <dyoung@redhat.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/kfifo/record-example.c')
0 files changed, 0 insertions, 0 deletions