profiling: remove stale percpu flip buffer variables
Changes
1 files changed · +0 −6
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| kernel/profile.c | modified | +0 | −6 | View file |
kernel/profile.c
View filediff --git a/kernel/profile.c b/kernel/profile.c
index 2dfb0f4..ff68d38 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -47,12 +47,6 @@ static unsigned short int prof_shift;
int prof_on __read_mostly;
EXPORT_SYMBOL_GPL(prof_on);
-#if defined(CONFIG_SMP) && defined(CONFIG_PROC_FS)
-static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
-static DEFINE_PER_CPU(int, cpu_profile_flip);
-static DEFINE_MUTEX(profile_flip_mutex);
-#endif /* CONFIG_SMP */
-
int profile_setup(char *str)
{
static const char schedstr[] = "schedule";