64-bit kernel
Here is a patch, which have a more cosmetic value rather than fixing anything, but it makes the compiler happier.
/Carsten
--
_ _ ____ ___ Carsten Langgaard Mailto:[email protected] |\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527 | \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555 TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556 Denmark http://www.mips.com
Index: include/asm-mips64/irq.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/irq.h,v
retrieving revision 1.4
asm-mips64/irq.h +7 -0
@@ -46,6 +46,13 @@struct irqaction ;extern int i8259_setup_irq (int irq,struct irqaction * new);extern void disable_irq (unsigned int ); + +#ifndef CONFIG_NEW_IRQ +#define disable_irq_nosync disable_irq +#else +extern void disable_irq_nosync (unsigned int ); +#endif +extern void enable_irq (unsigned int );/* Machine specific interrupt initialization */
Index: include/asm-mips64/pgtable.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/pgtable.h,v retrieving revision 1.47.2.16
asm-mips64/pgtable.h +0 -10
@@ -77,10 +77,6 @@#else -extern void (*_flush_icache_all)(void ); -extern void (*_flush_icache_range)(unsigned long start,unsigned long end); -extern void (*_flush_icache_page)(struct vm_area_struct *vma,struct page *page); -#define flush_cache_mm (mm) _flush_cache_mm(mm)#define flush_cache_range (mm,start,end) _flush_cache_range(mm,start,end)#define flush_cache_page (vma,page) _flush_cache_page(vma, page)
@@ -89,12 +85,6 @@#define flush_icache_user_range (vma, page, addr, len) \ flush_icache_page((vma), (page))#define flush_icache_page (vma, page) _flush_icache_page(vma, page) -#ifdef CONFIG_VTAG_ICACHE -#define flush_icache_all () _flush_icache_all() -#else -#define flush_icache_all () do { } while(0) -#endif -#endif /* !CONFIG_CPU_R10000 */
Quoted 2 lines · Carsten Langgaard
Here is a patch, which have a more cosmetic value rather than fixing anything, but it makes the compiler happier.
Happy compilers are good compilers :-)
Applied with changes,
Ralf