x86, bts: remove recursion from get_context
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 16 Dec 2008 14:51:03 +0000 (15:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 17:27:25 +0000 (18:27 +0100)
commitcc1dc6d039ced64c2f8b8457bf1cccf4ecfc5942
treeac0d3ce93bce552911cd0b4300775538daca2a45
parent9dfc3bc7d21864d47797d64b8d531d4dbbc0b618
x86, bts: remove recursion from get_context

Impact: cleanup

Optimistically allocate a DS context. It is extremely unlikely that
one already existed. This simplifies the code a lot.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ds.c