Re: [PATCH] m68k: Enable memtest kernel parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/10/21 5:10 PM, Finn Thain wrote:
Enable the memtest feature and rearrange some code to prevent it from
clobbering the initrd.

The CONFIG_BLK_DEV_INITRD symbol was conditional on !defined(CONFIG_SUN3).
For simplicity, remove that test on the basis that m68k_ramdisk.size == 0
on Sun 3.

The SLIME source code athttp://sammy.net/  shows that no BI_RAMDISK entry
is ever passed to the kernel due to #ifdef 0 around the relevant code.

Cc: Mike Rapoport<rppt@xxxxxxxxxx>
Cc: Sam Creasey<sammy@xxxxxxxxx>
Signed-off-by: Finn Thain<fthain@xxxxxxxxxxxxxx>
---
Are there any other Linux bootloaders on Sun 3?
---
  arch/m68k/Kconfig           |  1 +
  arch/m68k/kernel/setup_mm.c | 15 ++++++---------
  arch/m68k/mm/motorola.c     |  2 ++
  3 files changed, 9 insertions(+), 9 deletions(-)

Hi Finn,

Please also update Documentation/admin-guide/kernel-parameters.txt:

	memtest=	[KNL,X86,ARM,PPC,RISCV] Enable memtest

to include "M68K".

thanks.
--
~Randy



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux