[Top] [All Lists]

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

To: <>
Subject: Re: [PATCH] MIPS: Reduce kernel binary size.
From: "Steven J. Hill" <>
Date: Fri, 28 Jun 2013 16:29:30 -0500
Cc: Ralf Baechle <>, "Maciej W . Rozycki" <>
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

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.


<Prev in Thread] Current Thread [Next in Thread>