projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184fe4a
)
x86: perf_counter cleanup
author
Jaswinder Singh Rajput
<jaswinder@kernel.org>
Sun, 8 Mar 2009 11:39:49 +0000
(17:09 +0530)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 8 Mar 2009 15:26:50 +0000
(16:26 +0100)
Remove unused variables and duplicate header file.
Signed-off-by: Jaswinder Singh Rajput <jaswinder@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/perf_counter.c
b/arch/x86/kernel/cpu/perf_counter.c
index 1df421042b2a16673e2071a2c7190d4fd127d858..155bc3c239b63fa5388b9f85684b6c0185e3657a 100644
(file)
--- a/
arch/x86/kernel/cpu/perf_counter.c
+++ b/
arch/x86/kernel/cpu/perf_counter.c
@@
-17,7
+17,6
@@
#include <linux/kdebug.h>
#include <linux/sched.h>
-#include <asm/perf_counter.h>
#include <asm/apic.h>
static bool perf_counters_initialized __read_mostly;
@@
-954,9
+953,6
@@
static struct pmc_x86_ops *pmc_intel_init(void)
static struct pmc_x86_ops *pmc_amd_init(void)
{
- u64 old;
- int bits;
-
nr_counters_generic = 4;
nr_counters_fixed = 0;
counter_value_mask = 0x0000FFFFFFFFFFFFULL;