perf, x86: make IBS macros available in perf_event.h
authorRobert Richter <robert.richter@amd.com>
Thu, 25 Feb 2010 18:40:46 +0000 (19:40 +0100)
committerRobert Richter <robert.richter@amd.com>
Mon, 1 Mar 2010 10:23:15 +0000 (11:23 +0100)
commit1d6040f17d12a65b9f7ab4cb9fd6d721206b79ec
treeec7d557c8ec7cffe41797b197fc2c0a33056468d
parent86d62b6fa2845725ad88b95387c8c52731fb2460
perf, x86: make IBS macros available in perf_event.h

This patch moves code from oprofile to perf_event.h to make it also
available for usage by perf.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/include/asm/perf_event.h
arch/x86/oprofile/op_model_amd.c