From: Robert Richter Date: Wed, 17 Mar 2010 11:49:10 +0000 (+0100) Subject: perf/core, x86: Reduce number of CONFIG_X86_LOCAL_APIC macros X-Git-Tag: v2.6.35-rc1~522^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27ea29c6267889be255f2217fa7a6106e6a8b04;p=pandora-kernel.git perf/core, x86: Reduce number of CONFIG_X86_LOCAL_APIC macros The function reserve_pmc_hardware() and release_pmc_hardware() were hard to read. This patch improves readability of the code by removing most of the CONFIG_X86_LOCAL_APIC macros. Signed-off-by: Robert Richter Cc: Stephane Eranian Cc: Peter Zijlstra LKML-Reference: <1268826553-19518-2-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed