Re: Linux 2.4.20-pre2-ac1

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Wed Aug 14 2002 - 20:03:18 EST


To build it I needed the following patches:

- Makefile
        Has wrong EXTRAVERSION

- mm/swap_state.c
        Improper use of PAGE_BUG() macro

- drivers/isdn/hisax/st5481.h
        Usage of '...' in macro, not always compatible with prevailing
        versions of gcc. We all know the story though... I just disabled
        all the special macros for now

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

--- linux/Makefile.orig Thu Aug 15 10:30:15 2002 +++ linux/Makefile Thu Aug 15 10:04:08 2002 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 20 -EXTRAVERSION = -pre1-ac3 +EXTRAVERSION = -pre2-ac1 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

--- linux/mm/swap_state.c.orig Thu Aug 15 10:28:06 2002 +++ linux/mm/swap_state.c Thu Aug 15 10:28:18 2002 @@ -152,7 +152,7 @@ BUG(); if (unlikely(!block_flushpage(page, 0))) - PAGE_BUG(); /* an anonymous page cannot have page->buffers set */ + PAGE_BUG(page); /* an anonymous page cannot have page->buffers set */ entry.val = page->index;

--- linux/drivers/isdn/hisax/st5481.h.orig Thu Aug 15 10:38:11 2002 +++ linux/drivers/isdn/hisax/st5481.h Thu Aug 15 10:39:25 2002 @@ -218,14 +218,11 @@ #define L1_EVENT_COUNT (EV_TIMER3 + 1) -#define ERR(format, arg...) \ -printk(KERN_ERR __FILE__ ": %s: " format "\n" , __FUNCTION__, ## arg) +#define ERR(format, arg...) 0 -#define WARN(format, arg...) \ -printk(KERN_WARNING __FILE__ ": %s: " format "\n" , __FUNCTION__, ## arg) +#define WARN(format, arg...) 0 -#define INFO(format, arg...) \ -printk(KERN_INFO __FILE__ ": %s: " format "\n" , __FUNCTION__, ## arg) +#define INFO(format, arg...) 0 #include "st5481_hdlc.h" #include "fsm.h"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:38 EST