OSDN Git Service

MIPS: COP2: CPP macro safety fixes.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 25 Aug 2014 17:35:53 +0000 (19:35 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 Aug 2014 00:18:59 +0000 (02:18 +0200)
commit68c77d8a1e1ad6cfe228390702f3e4eb2bf8e17a
tree96a9cc364b7623cbceb4bb19c8989dce797dbea1
parentb10b43ba697c6b571a24b626eaab1d6d79acf14c
MIPS: COP2: CPP macro safety fixes.

 - Don't pass things to macros that couldn't be dereferences if that
   macro was actually a function.
 - Don't use empty function-like macros.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cop2.h
arch/mips/include/asm/switch_to.h