提交 c7c19f8e 编写于 作者: A Adrian Bunk 提交者: Andi Kleen

[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: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndi Kleen <ak@suse.de>
上级 fac58550
...@@ -83,8 +83,8 @@ static void exit_driverfs(void) ...@@ -83,8 +83,8 @@ static void exit_driverfs(void)
#define exit_driverfs() do { } while (0) #define exit_driverfs() do { } while (0)
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
int profile_exceptions_notify(struct notifier_block *self, static int profile_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data) unsigned long val, void *data)
{ {
struct die_args *args = (struct die_args *)data; struct die_args *args = (struct die_args *)data;
int ret = NOTIFY_DONE; int ret = NOTIFY_DONE;
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/kdebug.h> #include <asm/kdebug.h>
int profile_timer_exceptions_notify(struct notifier_block *self, static int profile_timer_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data) unsigned long val, void *data)
{ {
struct die_args *args = (struct die_args *)data; struct die_args *args = (struct die_args *)data;
int ret = NOTIFY_DONE; int ret = NOTIFY_DONE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册