diff options
author | Robert Millan <rmh@gnu.org> | 2011-04-18 11:37:55 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-05-19 09:55:48 +0100 |
commit | c094c99e659efedcbb05a0f75b8f77145d8ec539 (patch) | |
tree | 92044a50986f7b56c4270273b2040f04041ca92e /mm/msync.c | |
parent | 6edde0247644db475f68f25dcb1bf72260600081 (diff) |
MIPS: Introduce set_elf_platform() helper function
Replace these sequences:
if (cpu == 0)
__elf_platform = "foo";
with a trivial inline function.
Signed-off-by: Robert Millan <rmh@gnu.org>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: wu zhangjin <wuzhangjin@gmail.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2304/
Patchwork: https://patchwork.linux-mips.org/patch/2374/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions