This patch makes the following needlessly global functions static: - nmi_int.c: profile_exceptions_notify() - nmi_timer_int.c: profile_timer_exceptions_notify()
Unified · Split
| @@ -83,8 +83,8 @@ static void exit_driverfs(void) · 82 unmodified lines | |||
| 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; |
| @@ -19,8 +19,8 @@ · 18 unmodified lines | |||
| 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; |