[tip:perf/pebs] perf, x86: Fix the !CONFIG_CPU_SUP_INTEL build

tip-bot for Ingo Molnar
2010-03-10T13:26:02Z

Commit-ID: caa0142d84ceb0fc83e28f0475d0a7316cb6df77
Gitweb: http://git.kernel.org/tip/caa0142d84ceb0fc83e28f0475d0a7316cb6df77
Author: Ingo Molnar <mingo@elte.hu>
AuthorDate: Sat, 6 Jun 2009 13:58:12 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 10 Mar 2010 13:40:44 +0100

perf, x86: Fix the !CONFIG_CPU_SUP_INTEL build

Fix typo. But the modularization here is ugly and should be improved.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/cpu/perf_event_intel_ds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel_ds.c b/arch/x86/kernel/cpu/perf_event_intel_ds.c
index 1bfd59b..c59678a 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_ds.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_ds.c
@@ -661,7 +661,7 @@ static void intel_ds_init(void)

#else /* CONFIG_CPU_SUP_INTEL */

-static int reseve_ds_buffers(void)
+static int reserve_ds_buffers(void)
{
return 0;
}