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 | 83 | #define exit_driverfs() do { } while (0) |
| 84 | 84 | #endif /* CONFIG_PM */ |
| 85 | 85 | |
| 86 | −int profile_exceptions_notify(struct notifier_block *self, | |
| 87 | − unsigned long val, void *data) | |
| 86 | +static int profile_exceptions_notify(struct notifier_block *self, | |
| 87 | + unsigned long val, void *data) | |
| 88 | 88 | { |
| 89 | 89 | struct die_args *args = (struct die_args *)data; |
| 90 | 90 | int ret = NOTIFY_DONE; |
| @@ -19,8 +19,8 @@ · 18 unmodified lines | ||
| 19 | 19 | #include <asm/ptrace.h> |
| 20 | 20 | #include <asm/kdebug.h> |
| 21 | 21 | |
| 22 | −int profile_timer_exceptions_notify(struct notifier_block *self, | |
| 23 | − unsigned long val, void *data) | |
| 22 | +static int profile_timer_exceptions_notify(struct notifier_block *self, | |
| 23 | + unsigned long val, void *data) | |
| 24 | 24 | { |
| 25 | 25 | struct die_args *args = (struct die_args *)data; |
| 26 | 26 | int ret = NOTIFY_DONE; |