From: Kenn H. <ke...@us...> - 2005-04-20 18:59:11
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18584/include/asm-vax Modified Files: ka43.h Log Message: GCC 4.1 complains about the extern declaration of ka43_mctype[] in ka43.h followed by the static definition in cpu_ka43.c. Nothing else uses it, so remove the declaration from ka43.h and define MC43_MAX in cpu_ka43.c. Index: ka43.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/ka43.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ka43.h 2 Jun 2004 19:58:39 -0000 1.6 +++ ka43.h 20 Apr 2005 18:58:57 -0000 1.7 @@ -132,9 +132,6 @@ #define KA43_MC_RESTART 0x00008000 /* Restart possible*/ #define KA43_PSL_FPDONE 0x00010000 /* First Part Done */ -#define MC43_MAX 19 -extern char *ka43_mctype[MC43_MAX+1]; - #endif /* __ASSEMBLY */ extern void ka43_diagmem_remap(unsigned long int address, unsigned long int size); |