]>
Commit | Line | Data |
---|---|---|
9547e94c SL |
1 | From b875c61b79d4f1c9a74bb8dc8bd8fa4cbdab9a4f Mon Sep 17 00:00:00 2001 |
2 | From: James Morse <james.morse@arm.com> | |
3 | Date: Wed, 27 Apr 2016 17:47:08 +0100 | |
4 | Subject: arm64: kernel: Include _AC definition in page.h | |
5 | ||
6 | [ Upstream commit 812264550dcba6cdbe84bfac2f27e7d23b5b8733 ] | |
7 | ||
8 | page.h uses '_AC' in the definition of PAGE_SIZE, but doesn't include | |
9 | linux/const.h where this is defined. This produces build warnings when only | |
10 | asm/page.h is included by asm code. | |
11 | ||
12 | Signed-off-by: James Morse <james.morse@arm.com> | |
13 | Acked-by: Mark Rutland <mark.rutland@arm.com> | |
14 | Acked-by: Catalin Marinas <catalin.marinas@arm.com> | |
15 | Signed-off-by: Will Deacon <will.deacon@arm.com> | |
16 | Signed-off-by: Sasha Levin <sashal@kernel.org> | |
17 | --- | |
18 | arch/arm64/include/asm/page.h | 2 ++ | |
19 | 1 file changed, 2 insertions(+) | |
20 | ||
21 | diff --git a/arch/arm64/include/asm/page.h b/arch/arm64/include/asm/page.h | |
22 | index 9b2f5a9d019d..fbafd0ad16df 100644 | |
23 | --- a/arch/arm64/include/asm/page.h | |
24 | +++ b/arch/arm64/include/asm/page.h | |
25 | @@ -19,6 +19,8 @@ | |
26 | #ifndef __ASM_PAGE_H | |
27 | #define __ASM_PAGE_H | |
28 | ||
29 | +#include <linux/const.h> | |
30 | + | |
31 | /* PAGE_SHIFT determines the page size */ | |
32 | /* CONT_SHIFT determines the number of pages which can be tracked together */ | |
33 | #ifdef CONFIG_ARM64_64K_PAGES | |
34 | -- | |
35 | 2.19.1 | |
36 |