Messages in this thread Patches in this message | | | Date | Thu, 15 Aug 2002 11:03:18 +1000 | From | Eyal Lebedinsky <> | Subject | Re: Linux 2.4.20-pre2-ac1 |
| |
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" | |