Skip to content
Commit 6ff8a3b2 authored by Michael Schmitz's avatar Michael Schmitz Committed by Martin K. Petersen
Browse files

scsi: atari_scsi: Use m68k_realnum_memory for FastRAM test



m68k_num_memory is unsuitable to test for the presence of FastRAM on
CT60 if the kernel is located in FastRAM: in arch/m68k/mm/motorola.c the
ST-RAM chunk is skipped and m68k_num_memory is decremented in this
case. m68k_realnum_memory still contains the actual number of RAM chunks
so use that.

Signed-off-by: default avatarMichael Schmitz <schmitzmic@gmail.com>
Tested-by: default avatarChristian T. Steigies <cts@debian.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 52eacd61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment