Hi'all,
Seems some patches missed the boat on 2.3.99-pre4:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c md.c
md.c: In function `md_geninit':
md.c:3459: `MAX_MD_BOOT_DEVS' undeclared (first use in this function)
md.c:3459: (Each undeclared identifier is reported only once
md.c:3459: for each function it appears in.)
make[4]: *** [md.o] Error 1
make[4]: Leaving directory `/usr/src/linux-23/drivers/block'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-23/drivers/block'
make[2]: *** [_subdir_block] Error 2
make[2]: Leaving directory `/usr/src/linux-23/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-23'
make: *** [stamp-build] Error 2
This patch should fix it. If this is all wrong, please tell...
-- --- linux/include/linux/raid/md.h.org Wed Apr 12 02:01:36 2000 +++ linux/include/linux/raid/md.h Wed Apr 12 02:03:13 2000 @@ -59,8 +59,8 @@ #define MD_MINOR_VERSION 90 #define MD_PATCHLEVEL_VERSION 0 -extern int md_size[MAX_MD_DEVS]; -extern struct hd_struct md_hd_struct[MAX_MD_DEVS]; +extern int md_size[MAX_MD_BOOT_DEVS]; +extern struct hd_struct md_hd_struct[MAX_MD_BOOT_DEVS]; extern void add_mddev_mapping (mddev_t *mddev, kdev_t dev, void *data); extern void del_mddev_mapping (mddev_t *mddev, kdev_t dev); --- linux/include/linux/raid/md_k.h.org Wed Apr 12 02:02:35 2000 +++ linux/include/linux/raid/md_k.h Wed Apr 12 02:02:51 2000 @@ -60,7 +60,7 @@ #endif #define MAX_REAL 12 /* Max number of disks per md dev */ -#define MAX_MD_DEVS (1<<MINORBITS) /* Max number of md dev */ +#define MAX_MD_BOOT_DEVS (1<<MINORBITS) /* Max number of md dev */ /* * Maps a kdev to an mddev/subdev. How 'data' is handled is up to--
Cheers//Frank -- WWWWW _______________________ ## o o\ / Frank de Lange \ }# \| / \ ##---# _/ <Hacker for Hire> \ #### \ +31-320-252965 / \ frank@unternet.org / -------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:17 EST