H. Peter Anvin a6f05a6a0a x86-64: make compat_start_thread() match start_thread()
For no real good reason, compat_start_thread() was embedded inline in
<asm/elf.h> whereas the native start_thread() lives in process_*.c.
Move compat_start_thread() to process_64.c, remove gratuitious
differences, and fix a few items which mostly look like bit rot.

In particular, compat_start_thread() didn't do free_thread_xstate(),
which means it was hanging on to the xstate store area even when it
was not needed.  It was also not setting old_rsp, but it looks like
that generally shouldn't matter for a 32-bit process.

Note: compat_start_thread *has* to be a macro, since it is tested with
start_thread_ia32() as the out of line function name.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
2009-10-09 16:26:38 -07:00
..
2009-03-15 07:03:15 +01:00
2009-06-15 15:20:40 +02:00
2009-07-19 18:27:51 +02:00
2009-03-13 11:57:22 +01:00
2009-06-20 17:53:13 +02:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-07-11 10:17:08 +02:00
2009-08-31 11:09:40 +02:00
2009-08-31 11:09:40 +02:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2009-03-21 16:57:04 +05:30
2009-08-09 22:28:34 +02:00
2009-02-09 12:16:05 +01:00
2009-03-21 16:55:45 +05:30
2009-09-24 09:34:52 +09:30
2009-09-19 00:11:26 -04:00
2009-02-23 00:08:11 +01:00
2009-08-31 11:09:40 +02:00
2009-01-20 17:14:28 +01:00
2009-07-14 16:25:05 +02:00
2009-09-15 15:08:40 -04:00
2009-07-19 18:27:51 +02:00
2009-03-21 16:55:24 +05:30
2009-09-20 20:25:03 +02:00
2009-02-17 17:52:44 +01:00