]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Fix build errors for tinyconfig
authorHuacai Chen <chenhuacai@loongson.cn>
Wed, 6 Jul 2022 03:03:09 +0000 (11:03 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 7 Jul 2022 09:41:01 +0000 (17:41 +0800)
commite88a90d2363f72232a3461c62b3ce46243c84c0b
tree8fbd052a6b212763522c17790604161f0659f6bc
parente7a7e5d7aa22aa38cca5607c792386d2e14d7189
LoongArch: Fix build errors for tinyconfig

Building loongarch:tinyconfig fails with the following error.

./arch/loongarch/include/asm/page.h: In function 'pfn_valid':
./arch/loongarch/include/asm/page.h:42:32: error: 'PHYS_OFFSET' undeclared

Add the missing include file and fix succeeding vdso errors.

Fixes: e5c1cc9ac01f ("LoongArch: Add memory management")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/page.h
arch/loongarch/vdso/Makefile