[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170818112402.GB18499@dhcp22.suse.cz>
Date: Fri, 18 Aug 2017 13:24:02 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Russell King <rmk+kernel@....linux.org.uk>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: arch/arm/kernel/setup.c fails to compile for NOMMU
Hi Russel,
I have a battery of configs for compile testing and for some time I've
been seeing the following compilation error with nommu config (attached)
arch/arm/kernel/setup.c: In function 'reserve_crashkernel':
arch/arm/kernel/setup.c:1005:25: error: 'SECTION_SIZE' undeclared (first
use in this function)
crash_size, SECTION_SIZE);
I didn't get to look what is going on here, maybe my config is just too
artificial but the primary reason is that SECTION_SIZE is not defined in
pgtable-nommu.h. To be honest I am not familiar with nommu very much and
it smells like the whole reserve_crashkernel doesn't really make any
sense on those configs. Could you have a look what is the best fix
please?
--
Michal Hocko
SUSE Labs
View attachment "config.nommu" of type "text/plain" (87743 bytes)
Powered by blists - more mailing lists