Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/cmma: remove "cmma disable" code in case of dump again

This is not necessary anymore, since the offending code is gone with
the conversion to the memblock code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>-
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
71c40f7f 6c8cd5bb

-10
-10
arch/s390/mm/page-states.c
··· 12 12 #include <linux/mm.h> 13 13 #include <linux/gfp.h> 14 14 #include <linux/init.h> 15 - #include <asm/setup.h> 16 - #include <asm/ipl.h> 17 15 18 16 #define ESSA_SET_STABLE 1 19 17 #define ESSA_SET_UNUSED 2 ··· 41 43 42 44 if (!cmma_flag) 43 45 return; 44 - /* 45 - * Disable CMM for dump, otherwise the tprot based memory 46 - * detection can fail because of unstable pages. 47 - */ 48 - if (OLDMEM_BASE || ipl_info.type == IPL_TYPE_FCP_DUMP) { 49 - cmma_flag = 0; 50 - return; 51 - } 52 46 asm volatile( 53 47 " .insn rrf,0xb9ab0000,%1,%1,0,0\n" 54 48 "0: la %0,0\n"