ide patch problem
PATCH 1/1 ide patch problem
Hi,
Your ide.2.2.18.1221.patch does not compile on alpha:
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o ide-geometry.o ide-geometry.c
In file included from ide-geometry.c:5:/usr/src/linux/include/linux/mc146818rtc.h:29: parse error before rtc_lock' /usr/src/linux/include/linux/mc146818rtc.h:29: warning: type defaults to int' in declaration of `rtc_lock' /usr/src/linux/include/linux/mc146818rtc.h:29: warning: data definition has no type or storage class
make[3]: *** [ide-geometry.o] Error 1
make[3]: Leaving directory /usr/src/linux/drivers/block' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory /usr/src/linux/drivers/block' make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory /usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2
The following patch fixes the problem, but I'm not sure whether it is correct :
block/ide-geometry.c renamed from block/ide-geometry.c.old +1 -0
@@ -2,6 +2,7 @@* linux/drivers/ide/ide-geometry.c */ #include <linux/config.h> +#include <linux/mm.h> #include <linux/mc146818rtc.h> #include <linux/ide.h> #include <asm/io.h>
Signature · 8 lines
======================================================================= Andrzej M. Krzysztofowicz [email protected] phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Yep know about that one...
Cheers,
Quoted 44 lines · Andrzej Krzysztofowicz
Hi,
Your ide.2.2.18.1221.patch does not compile on alpha:cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
(quoted diff) +0
-2-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o ide-geometry.o ide-geometry.cIn file included from ide-geometry.c:5:
/usr/src/linux/include/linux/mc146818rtc.h:29: parse error beforertc_lock' /usr/src/linux/include/linux/mc146818rtc.h:29: warning: type defaults toint' in declaration of `rtc_lock'/usr/src/linux/include/linux/mc146818rtc.h:29: warning: data definition has no type or storage class
make[3]: *** [ide-geometry.o] Error 1
make[3]: Leaving directory/usr/src/linux/drivers/block' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory/usr/src/linux/drivers/block' make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2The following patch fixes the problem, but I'm not sure whether it is correct :
block/ide-geometry.c renamed from block/ide-geometry.c.old +1
-0@@ -2,6 +2,7 @@* linux/drivers/ide/ide-geometry.c */ #include <linux/config.h> +#include <linux/mm.h> #include <linux/mc146818rtc.h> #include <linux/ide.h> #include <asm/io.h> Signature · 9 lines
-- ======================================================================= Andrzej M. Krzysztofowicz [email protected] phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Andre Hedrick
CTO Timpanogas Research Group
EVP Linux Development, TRG
Linux ATA Development
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/