]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix text_poke()
authorJiri Slaby <jirislaby@gmail.com>
Mon, 28 Apr 2008 00:51:23 +0000 (02:51 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Apr 2008 17:54:07 +0000 (19:54 +0200)
commit8b132ecbcfea8b1b556a832df7290379df79ad79
tree4789c1dc8a2fb8afd6ad343f2ad3e96a35bad349
parent70c9f590ffc3f959cc81c1a3cecb6b8133caf35d
x86: fix text_poke()

kernel_text_address returns true even for modules which is not wanted
in text_poke. Use core_kernel_text instead.

This is a regression introduced in e587cadd8f47e202a30712e2906a65a0606d5865
which caused occasionaly crashes after suspend/resume.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
CC: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: Andi Kleen <andi@firstfloor.org>
CC: pageexec@freemail.hu
CC: H. Peter Anvin <hpa@zytor.com>
CC: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/alternative.c