]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfed0d0a7763d6f120aa1b8fd795df618340231f1
treed72159bc7b95af55f97ffe4688bee22403c66d79
parente5559980fb64602d61fc14e62079ce995e210c05
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