diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-26 04:52:27 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 04:52:27 -0400 |
commit | c7c19f8e5e564fb1a354a065befc8a88a9bb08fd (patch) | |
tree | 3fd910d51ce76eba14879f5632e4f0968a284129 /arch/i386/oprofile | |
parent | fac58550e80c307bf17cfa0dd544fca4eff120a5 (diff) |
[PATCH] i386: make functions static
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>
Diffstat (limited to 'arch/i386/oprofile')
-rw-r--r-- | arch/i386/oprofile/nmi_int.c | 4 | ||||
-rw-r--r-- | arch/i386/oprofile/nmi_timer_int.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/oprofile/nmi_int.c b/arch/i386/oprofile/nmi_int.c index b3610188bcf0..3700eef78743 100644 --- a/arch/i386/oprofile/nmi_int.c +++ b/arch/i386/oprofile/nmi_int.c | |||
@@ -83,8 +83,8 @@ static void exit_driverfs(void) | |||
83 | #define exit_driverfs() do { } while (0) | 83 | #define exit_driverfs() do { } while (0) |
84 | #endif /* CONFIG_PM */ | 84 | #endif /* CONFIG_PM */ |
85 | 85 | ||
86 | int profile_exceptions_notify(struct notifier_block *self, | 86 | static int profile_exceptions_notify(struct notifier_block *self, |
87 | unsigned long val, void *data) | 87 | unsigned long val, void *data) |
88 | { | 88 | { |
89 | struct die_args *args = (struct die_args *)data; | 89 | struct die_args *args = (struct die_args *)data; |
90 | int ret = NOTIFY_DONE; | 90 | int ret = NOTIFY_DONE; |
diff --git a/arch/i386/oprofile/nmi_timer_int.c b/arch/i386/oprofile/nmi_timer_int.c index 93ca48f804ac..abf0ba52a635 100644 --- a/arch/i386/oprofile/nmi_timer_int.c +++ b/arch/i386/oprofile/nmi_timer_int.c | |||
@@ -19,8 +19,8 @@ | |||
19 | #include <asm/ptrace.h> | 19 | #include <asm/ptrace.h> |
20 | #include <asm/kdebug.h> | 20 | #include <asm/kdebug.h> |
21 | 21 | ||
22 | int profile_timer_exceptions_notify(struct notifier_block *self, | 22 | static int profile_timer_exceptions_notify(struct notifier_block *self, |
23 | unsigned long val, void *data) | 23 | unsigned long val, void *data) |
24 | { | 24 | { |
25 | struct die_args *args = (struct die_args *)data; | 25 | struct die_args *args = (struct die_args *)data; |
26 | int ret = NOTIFY_DONE; | 26 | int ret = NOTIFY_DONE; |