x86, bts: use atomic memory allocation
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 18 Mar 2009 18:27:00 +0000 (19:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Mar 2009 13:02:47 +0000 (14:02 +0100)
commitc78a3956b982418186e40978a51636a2b43221bc
treeedc09b263a4bfc8143e4161d93cb3b7251f6a1c6
parent79258a354e0c69be94ae2871809a195bf4a647b1
x86, bts: use atomic memory allocation

Ds_request_bts() needs to allocate memory. It uses GFP_KERNEL.

Hw-branch-tracer calls ds_request_bts() within on_each_cpu().

Use atomic memory allocation to allow it to be used in that context.

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