diff options
author | mbuesch@freenet.de <mbuesch@freenet.de> | 2004-10-13 22:38:15 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:55:39 -0700 |
commit | e5a5b54ab675988febeaa9cd831e21e675d5947b (patch) | |
tree | e965760484a7da1c81ce158140f00a2731096465 /Makefile | |
parent | dc117daa28c87c6be5846a23f06e16c2b6ff6bc1 (diff) |
[PATCH] fix asmlinkage
This patch fixes the reintroduced bug with the
sig_handler(), if we link against a -mregparm=3 compiled
klibc on i386.
It also fixes some compiler warnings about redefined
asmlinkage on some systems.
Also some (broken?) compilers on distros throw out warnings
if asmlinkage is before "static void". This fixes it, too.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2> # add -Wredundant-decls when libsysfs gets cleaned up WARNINGS := -Wall -CFLAGS := -pipe -Dasmlinkage= +CFLAGS := -pipe # set up the proper tdb spinlock code if we can ifeq ($(strip $(ARCH)),i386) |