summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authortrini@kernel.crashing.org <trini@kernel.crashing.org>2004-08-10 00:49:42 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:36:59 -0700
commit807755776d294a9811c0c8e835538e83abf734bc (patch)
tree74c543828da599be93201f002672698740cbbf47 /udev.c
parent4723bf98c0835bc779f627d7125417aa4f84121d (diff)
[PATCH] Add 'asmlinkage' to udev-030
The following patch adds 'asmlinkage' defines to udev, to kill off 2 warnings on !i386. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index eb21f75461..cc6ce10542 100644
--- a/udev.c
+++ b/udev.c
@@ -55,7 +55,7 @@ void log_message(int level, const char *format, ...)
}
#endif
-__attribute__((regparm(0))) static void sig_handler(int signum)
+asmlinkage static void sig_handler(int signum)
{
switch (signum) {
case SIGINT: