diff options
author | Robert Richter <robert.richter@amd.com> | 2011-04-15 20:27:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-19 04:08:12 -0400 |
commit | c8e5910edf8bbe2e5c6c35a4ef2a578cc7893b25 (patch) | |
tree | fa9b4676c4cd01577653941216301cccfb5b52a3 /net/sysctl_net.c | |
parent | 68d2cf25d39324c54b5e42de7915c623a0917abe (diff) |
perf, x86: Use ALTERNATIVE() to check for X86_FEATURE_PERFCTR_CORE
Using ALTERNATIVE() when checking for X86_FEATURE_PERFCTR_CORE avoids
an extra pointer chase and data cache hit.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1302913676-14352-4-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions