Fix KSPLICE_IP for new x86-64 kernels.
commitc59aacc49f7183f1a31b0379abfe5430c1d746ee
authorAnders Kaseorg <andersk@ksplice.com>
Wed, 26 Aug 2009 19:51:22 +0000 (26 15:51 -0400)
committerAnders Kaseorg <andersk@ksplice.com>
Wed, 26 Aug 2009 20:25:23 +0000 (26 16:25 -0400)
tree51ef6b937383b9e7b8f1a72aea2f7e6c87fa2a5b
parenta294e8dc762bd01fa35d3332af8bc3f270ce75b1
Fix KSPLICE_IP for new x86-64 kernels.

Even though struct thread_struct.ip is present after 2.6.25 as a
result of the x86 unification, it is still not used for x86-64; the
context switching macro always begins execution at thread_return.
(See the definitions of switch_to in arch/x86/include/asm/system.h.)
This unused field was removed for 2.6.31 under !CONFIG_X86_32 by
commit 0c23590f00f85467b318ad0c20c36796a5bd4c60.

Signed-off-by: Anders Kaseorg <andersk@ksplice.com>
kmodsrc/x86/ksplice-arch.c