x86-64: merge the standard and compat start_thread() functions
authorH. Peter Anvin <hpa@zytor.com>
Fri, 9 Oct 2009 22:56:53 +0000 (15:56 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 Oct 2009 23:26:38 +0000 (16:26 -0700)
commite634d8fc792c66c3d4ff45518c04848c1e28f221
treed72159bc7b95af55f97ffe4688bee22403c66d79
parenta6f05a6a0a1713d5b019f096799d49226807d3df
x86-64: merge the standard and compat start_thread() functions

The only thing left that differs between the standard and compat
start_thread functions is the actual segment numbers and the
prototype, so have a single common function which contains the guts
and two very small wrappers.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
arch/x86/kernel/process_64.c