x86: clean up text_poke()
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 24 Apr 2008 15:03:33 +0000 (11:03 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Apr 2008 17:54:07 +0000 (19:54 +0200)
commitb7b66baa8bc3f8e0cda6576e31e9bde09382565d
tree302533b2a5199d4958b87638b1bba5447c60152e
parent8b132ecbcfea8b1b556a832df7290379df79ad79
x86: clean up text_poke()

Clean up the codepath, remove alignment restrictions and do sanity
checking of the end result, to make sure we patched the right site.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/alternative.c