]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Remove legacy MIPS_MACHINE option
authorPaul Cercueil <paul@crapouillou.net>
Sun, 26 Jul 2020 16:58:28 +0000 (18:58 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 28 Jul 2020 08:21:17 +0000 (10:21 +0200)
commit74b1b1cec2252c147b299856c29c50d9c771f965
treef65ff454d5892f182bd8980ee5ac7c72abf460c0
parent435e67e2596fd902f5a75347b234b4ff942d2031
MIPS: Remove legacy MIPS_MACHINE option

The CONFIG_MIPS_MACHINE option is dead code that hasn't been used in
years. The Kconfig option is not selected anywhere, and the
<asm/mips_machine.h> is not included anywhere either.

To make things worse, for years it co-existed with a separate MIPS
machine implementation as <asm/machine.h>. The two defined the
'mips_machine' structure with different fields, and the 'MIPS_MACHINE'
macro with different parameters. The two used the same memory area
(defined by the linker script) to store data, and you could totally use
the two at the same time for all kinds of funny results.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig
arch/mips/include/asm/mips_machine.h [deleted file]
arch/mips/kernel/Makefile
arch/mips/kernel/mips_machine.c [deleted file]