summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/early_printk.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-08-22 14:03:48 +0400
committerIngo Molnar <mingo@kernel.org>2012-08-22 14:09:49 +0400
commitcb09cad44f07044d9810f18f6f9a6a6f3771f979 (patch)
treed46afa5828ace6662bf155bb4f454f35fb63990f /arch/x86/kernel/early_printk.c
parent2530cd4f448935c74eeb49f29559589928e4b2f0 (diff)
downloadlinux-cb09cad44f07044d9810f18f6f9a6a6f3771f979.tar.xz
x86/alternatives: Fix p6 nops on non-modular kernels
Probably a leftover from the early days of self-patching, p6nops are marked __initconst_or_module, which causes them to be discarded in a non-modular kernel. If something later triggers patching, it will overwrite kernel code with garbage. Reported-by: Tomas Racek <tracek@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Cc: Michael Tokarev <mjt@tls.msk.ru> Cc: Borislav Petkov <borislav.petkov@amd.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> Cc: qemu-devel@nongnu.org Cc: Anthony Liguori <anthony@codemonkey.ws> Cc: H. Peter Anvin <hpa@linux.intel.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Alan Cox <alan@linux.intel.com> Link: http://lkml.kernel.org/r/5034AE84.90708@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/early_printk.c')
0 files changed, 0 insertions, 0 deletions