MIPS: Loongson fix name confict - MEM_RESERVED
authorHuacai Chen <chenhc@lemote.com>
Thu, 16 Nov 2017 08:35:04 +0000 (16:35 +0800)
committerJames Hogan <jhogan@kernel.org>
Wed, 24 Jan 2018 13:34:39 +0000 (13:34 +0000)
commit6045f241b48f07b2fb80905bf49671f457a8c037
treef88698dee85592039c35f30741e87843836c4b12
parent6507831f0e005fee670c0f01f42fd5ee8ea39181
MIPS: Loongson fix name confict - MEM_RESERVED

MEM_RESERVED is used as a value of enum mem_type in include/linux/
edac.h. This will make failure to build for Loongson in some case:
for example with CONFIG_RAS enabled.

So here rename MEM_RESERVED to SYSTEM_RAM_RESERVED in Loongson code.

Signed-off-by: YunQiang Su <yunqiang.su@imgtec.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17724/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/include/asm/mach-loongson64/boot_param.h
arch/mips/loongson64/common/mem.c
arch/mips/loongson64/loongson-3/numa.c