[PATCH] i386: make functions static
authorAdrian Bunk <bunk@stusta.de>
Tue, 26 Sep 2006 08:52:27 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:27 +0000 (10:52 +0200)
This patch makes the following needlessly global functions static:
- nmi_int.c: profile_exceptions_notify()
- nmi_timer_int.c: profile_timer_exceptions_notify()

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/oprofile/nmi_int.c
arch/i386/oprofile/nmi_timer_int.c

index b3610188bcf0d67fe958d3e4be65269725fef58e..3700eef78743160787de152444c95eeaa03d93a9 100644 (file)
@@ -83,8 +83,8 @@ static void exit_driverfs(void)
 #define exit_driverfs() do { } while (0)
 #endif /* CONFIG_PM */
 
-int profile_exceptions_notify(struct notifier_block *self,
-                               unsigned long val, void *data)
+static int profile_exceptions_notify(struct notifier_block *self,
+                                    unsigned long val, void *data)
 {
        struct die_args *args = (struct die_args *)data;
        int ret = NOTIFY_DONE;
index 93ca48f804ac9e80ac0fedef87241cdb6d2b213b..abf0ba52a6359fd8dc12c2cae9b4137dcca8d6e7 100644 (file)
@@ -19,8 +19,8 @@
 #include <asm/ptrace.h>
 #include <asm/kdebug.h>
  
-int profile_timer_exceptions_notify(struct notifier_block *self,
-                               unsigned long val, void *data)
+static int profile_timer_exceptions_notify(struct notifier_block *self,
+                                          unsigned long val, void *data)
 {
        struct die_args *args = (struct die_args *)data;
        int ret = NOTIFY_DONE;