From: Dustin M. <du...@se...> - 2002-01-20 16:19:54
|
This was a mistake when I initially submitted the patch... It should be BIGSUR_IRQ_LOW not MGATE_IRQ_LOW. Sorry for the confusion. Dustin. Index: arch/sh/kernel/setup_bigsur.c =================================================================== RCS file: /home/CVS-ext/projects/software/core/kernel/arch/sh/kernel/setup_bigsur.c,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 setup_bigsur.c --- arch/sh/kernel/setup_bigsur.c 2001/07/23 17:50:54 1.1.1.2 +++ arch/sh/kernel/setup_bigsur.c 2001/12/14 15:54:11 @@ -64,7 +64,7 @@ unsigned long flags; unsigned char mask; unsigned int mask_port = ((irq - BIGSUR_IRQ_LOW)/8) ? BIGSUR_IRLMR1 : BIGSUR_IRLMR0; - unsigned char bit = (1 << ((irq - MGATE_IRQ_LOW)%8) ); + unsigned char bit = (1 << ((irq - BIGSUR_IRQ_LOW)%8) ); if(irq >= BIGSUR_IRQ_LOW && irq < BIGSUR_IRQ_HIGH) { DPRINTK("Disable L1 IRQ %d\n", irq); @@ -86,7 +86,7 @@ unsigned long flags; unsigned char mask; unsigned int mask_port = ((irq - BIGSUR_IRQ_LOW)/8) ? BIGSUR_IRLMR1 : BIGSUR_IRLMR0; - unsigned char bit = (1 << ((irq - MGATE_IRQ_LOW)%8) ); + unsigned char bit = (1 << ((irq - BIGSUR_IRQ_LOW)%8) ); if(irq >= BIGSUR_IRQ_LOW && irq < BIGSUR_IRQ_HIGH) { DPRINTK("Enable L1 IRQ %d\n", irq); -----Original Message----- From: lin...@li... [mailto:lin...@li...]On Behalf Of M. R. Brown Sent: Sunday, January 20, 2002 12:24 AM To: lin...@li... Subject: [linuxsh-dev] BigSur undefined constant Call me crazy, but shouldn't this be defined somewhere - "MGATE_IRQ_LOW"? Has anyone built the BigSur in awhile? From arch/sh/kernel/setup_bigsur.c, line 67: unsigned char bit = (1 << ((irq - MGATE_IRQ_LOW)%8) ); M. R. |