On Thu, Jun 20, 2013 at 5:56 AM, Steven J. Hill <Steven.Hill@xxxxxxxxxx> wrote:
I think this patch is not needed with <http://patchwork.linux-mips.org/patch/5327/> being used instead?On 05/27/2013 09:34 AM, Sergei Shtylyov wrote:
Hello.
On 27-05-2013 16:45, Tony Wu wrote:
Add kernel_uses_mmips to denote whether CONFIG_CPU_MICROMIPS
is set or not. This variable can help cut down #ifdef usage.
You can avoid #ifdef usage with using IS_BUILTIN() macro, not
defining extra macros.
Signed-off-by: Tony Wu <tung7970@xxxxxxxxx>
Cc: David Daney <david.daney@xxxxxxxxxx>
Cc: Steven J. Hill <Steven.Hill@xxxxxxxxxx>
WBR, Sergei
-Steve
I think cpu_has_mmips does not necessary mean kernel is compiled using microMIPS ISA, so I added kernel_uses_mmips for that purpose. We can remove this patch, but the third patch of this patch set will need some modifications. I will send new patches later.
Thanks,
Tony