Re: [PATCH] MIPS: Reduce kernel binary size.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ralf,

Take note of the addition of '#ifdef CONFIG_SYS_HAS_CPU_R10000' around the 'cpu_is_noncoherent_r10000' and empty inline function if we're not one of the SGI platforms. Without the the empty inline function, I get an internal compiler compiler error. It results from the new 'current_cpu_type()' function you added. Essentially two functions are going to get optimized out. The compiler does not seem to complete that successfully. Here is the message:

  CC      arch/mips/mm/dma-default.o
arch/mips/mm/dma-default.c: In function 'mips_dma_sync_sg_for_cpu':
arch/mips/mm/dma-default.c:320:1: internal compiler error: in add_insn_before, at emit-rtl.c:3852

Maciej, what are we dealing with here? Thanks.

-Steve




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux