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)
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>

No differences found