On 07/09/2015 04:59 AM, G Gregory wrote:
On 9 July 2015 at 06:17, Itaru Kitayama itaru.kitayama@riken.jp wrote:
Hi,
Build of the topic branch fails with an error:
CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC arch/arm64/kernel/setup.o arch/arm64/kernel/setup.c: In function ‘arm64_spcr_setup’: arch/arm64/kernel/setup.c:603:3: error: implicit declaration of function ‘acpi_setup_spcr’ [-Werror=implicit-function-declaration] acpi_setup_spcr(); ^ cc1: some warnings being treated as errors scripts/Makefile.build:258: recipe for target 'arch/arm64/kernel/setup.o' failed make[1]: *** [arch/arm64/kernel/setup.o] Error 1 Makefile:943: recipe for target 'arch/arm64/kernel' failed make: *** [arch/arm64/kernel] Error 2
Looks like Al forgot this patch.
http://git.linaro.org/leg/acpi/acpi.git/commit/325c9758bd4b7f35faa83e1fb8933...
I assume he will update the tree later.
Quick fix is to set CONFIG_ACPI_SPCR in .config
Graeme
Whoops. My apologies. I had CONFIG_ACPI_SPCR set already so I missed this. I pushed the patch mentioned into the topic branch.