From: Robert Millan Date: Mon, 18 Apr 2011 18:37:55 +0000 (-0700) Subject: MIPS: Introduce set_elf_platform() helper function X-Git-Tag: v3.0-rc1~411^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c094c99e659efedcbb05a0f75b8f77145d8ec539;p=pandora-kernel.git 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 Signed-off-by: Kevin Cernekee Signed-off-by: David Daney Cc: wu zhangjin Cc: Aurelien Jarno 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 --- Reading git-diff-tree failed