aboutsummaryrefslogtreecommitdiff
path: root/drivers/oprofile/oprofile_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/oprofile/oprofile_stats.h')
-rw-r--r--drivers/oprofile/oprofile_stats.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/oprofile/oprofile_stats.h b/drivers/oprofile/oprofile_stats.h
index 6d755a633f1..1fc622bd183 100644
--- a/drivers/oprofile/oprofile_stats.h
+++ b/drivers/oprofile/oprofile_stats.h
@@ -10,24 +10,24 @@
#ifndef OPROFILE_STATS_H
#define OPROFILE_STATS_H
-#include <asm/atomic.h>
-
+#include <linux/atomic.h>
+
struct oprofile_stat_struct {
atomic_t sample_lost_no_mm;
atomic_t sample_lost_no_mapping;
atomic_t bt_lost_no_mapping;
atomic_t event_lost_overflow;
+ atomic_t multiplex_counter;
};
extern struct oprofile_stat_struct oprofile_stats;
-
+
/* reset all stats to zero */
void oprofile_reset_stats(void);
-
-struct super_block;
+
struct dentry;
-
+
/* create the stats/ dir */
-void oprofile_create_stats_files(struct super_block * sb, struct dentry * root);
+void oprofile_create_stats_files(struct dentry *root);
#endif /* OPROFILE_STATS_H */