diff options
author | trini@kernel.crashing.org <trini@kernel.crashing.org> | 2004-08-10 00:49:42 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:36:59 -0700 |
commit | 807755776d294a9811c0c8e835538e83abf734bc (patch) | |
tree | 74c543828da599be93201f002672698740cbbf47 /Makefile | |
parent | 4723bf98c0835bc779f627d7125417aa4f84121d (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 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,9 +114,9 @@ ifeq ($(strip $(TARGET_ARCH)),i386) /dev/null >/dev/null 2>&1; then echo "-mpreferred-stack-boundary=2"; fi} OPTIMIZATION += ${shell if $(CC) -malign-functions=0 -malign-jumps=0 -S -o /dev/null -xc \ /dev/null >/dev/null 2>&1; then echo "-malign-functions=0 -malign-jumps=0"; fi} - CFLAGS+=-pipe + CFLAGS+=-pipe -Dasmlinkage=__attribute__((regparm(0))) else - CFLAGS+=-pipe + CFLAGS+=-pipe -Dasmlinkage= endif ifeq ($(strip $(USE_LOG)),true) |