MIPS: move mips_{set,get}_machine_name() to a more generic place
authorJohn Crispin <blogic@openwrt.org>
Thu, 11 Apr 2013 05:34:59 +0000 (05:34 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:07 +0000 (01:19 +0200)
commit9169a5d01114c930a0494f9160da8c334d71680d
treec050c4650a3395076beeba4fb0a7aa33a4252830
parentd41d547a419ca2d4df867a40a553abfe0c3df1d6
MIPS: move mips_{set,get}_machine_name() to a more generic place

Previously this functionality was only available to users of the mips_machine
api. Moving the code to prom.c allows us to also add a OF wrapper.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5164/
arch/mips/include/asm/mips_machine.h
arch/mips/include/asm/prom.h
arch/mips/kernel/Makefile
arch/mips/kernel/mips_machine.c
arch/mips/kernel/proc.c
arch/mips/kernel/prom.c