two small patch of 2.1.80-pre-3

Byeong-ryeol Kim (jinbo21@soback.kornet.nm.kr)
Sat, 17 Jan 1998 04:22:57 +0900 (KST)


I could compile 2.1.80-pre-3 with patches below, though it
might be wrong.

--- linux/drivers/block/raid5.c~ Wed Dec 24 18:41:08 1997
+++ linux/drivers/block/raid5.c Sat Jan 17 02:18:25 1998
@@ -1372,7 +1372,7 @@
memset (raid_conf, 0, sizeof (*raid_conf));
raid_conf->mddev = mddev;

- if ((raid_conf->stripe_hashtbl = (struct stripe_head **) __get_free_pages(GFP_ATOMIC, HASH_PAGES_ORDER, 0)) == NULL)
+ if ((raid_conf->stripe_hashtbl = (struct stripe_head **) __get_free_pages(GFP_ATOMIC, HASH_PAGES_ORDER)) == NULL)
goto abort;
memset(raid_conf->stripe_hashtbl, 0, HASH_PAGES * PAGE_SIZE);

--- linux/drivers/sound/soundcard.c~ Sat Jan 3 11:12:53 1998
+++ linux/drivers/sound/soundcard.c Sat Jan 17 02:32:07 1998
@@ -1100,7 +1100,7 @@

dmap->buffsize = PAGE_SIZE * (1 << sz);

- if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC, sz, MAX_DMA_ADDRESS)) == NULL)
+ if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC, sz)) == NULL)
dmap->buffsize /= 2;
}

"Where there is a will, there is a way." jinbo21@soback.kornet.nm.kr
kbeyl@kids.kotel.co.kr
For the future of you and me! hitel: jinbo21