Commit
01fc0ac198eabcbf460e1ed058860a935b6c2c9a
Exists in
master
and in
39 other branches
8mp-imx_5.4.70_2.3.0, 8qm-imx_5.4.70_2.3.0, emb_imx_lf-5.15.y, emb_lf-6.1.y, imx_3.0.35_4.1.0, imx_3.10.17_1.0.1_ga, imx_3.10.53_1.1.0_ga, imx_3.14.28_1.0.0_ga, imx_4.1.15_1.0.0_ga, pitx_8mp_lf-5.10.y, rt-smarc-imx_4.1.15_1.0.0_ga, rt_linux_5.15.71, smarc-8m-android-11.0.0_2.0.0, smarc-imx6_4.14.98_2.0.0_ga, smarc-imx6_4.9.88_2.0.0_ga, smarc-imx7_4.14.98_2.0.0_ga, smarc-imx7_4.9.11_1.0.0_ga, smarc-imx7_4.9.88_2.0.0_ga, smarc-imx_3.10.53_1.1.0_ga, smarc-imx_3.14.28_1.0.0_ga, smarc-imx_4.1.15_1.0.0_ga, smarc-imx_4.9.11_1.0.0_ga, smarc-imx_4.9.51_imx8m_ga, smarc-imx_4.9.88_2.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_1.2.0_ga, smarc_8m_00d0_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.14.78_1.0.0_ga, smarc_8m_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.19.35_1.1.0, smarc_8mm_imx_4.14.78_1.0.0_ga, smarc_8mm_imx_4.14.98_2.0.0_ga, smarc_8mm_imx_4.19.35_1.1.0, smarc_8mm_imx_5.4.24_2.1.0, smarc_8mp_lf-5.10.y, smarc_8mq_imx_5.4.24_2.1.0, smarc_8mq_lf-5.10.y, smarc_imx_lf-5.15.y
kbuild: move bounds.h to include/generated
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Showing
6 changed files
with
5 additions
and
6 deletions
Side-by-side Diff
... |
... |
@@ -52,7 +52,6 @@ |
52
|
52 |
include/linux/compile.h |
53
|
53 |
include/linux/version.h |
54
|
54 |
include/linux/utsrelease.h |
55
|
|
-include/linux/bounds.h |
56
|
55 |
include/generated |
57
|
56 |
|
58
|
57 |
# stgit generated dirs |
... |
... |
@@ -8,7 +8,7 @@ |
8
|
8 |
##### |
9
|
9 |
# 1) Generate bounds.h |
10
|
10 |
|
11
|
|
-bounds-file := include/linux/bounds.h |
|
11 |
+bounds-file := include/generated/bounds.h |
12
|
12 |
|
13
|
13 |
always := $(bounds-file) |
14
|
14 |
targets := $(bounds-file) kernel/bounds.s |
... |
... |
@@ -1197,7 +1197,7 @@ |
1197
|
1197 |
MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
1198
|
1198 |
include/linux/autoconf.h include/linux/version.h \ |
1199
|
1199 |
include/linux/utsrelease.h \ |
1200
|
|
- include/linux/bounds.h include/asm*/asm-offsets.h \ |
|
1200 |
+ include/asm*/asm-offsets.h \ |
1201
|
1201 |
Module.symvers Module.markers tags TAGS cscope* |
1202
|
1202 |
|
1203
|
1203 |
# clean - Delete most, but leave enough to build external modules |
... |
... |
@@ -15,7 +15,7 @@ |
15
|
15 |
#include <linux/seqlock.h> |
16
|
16 |
#include <linux/nodemask.h> |
17
|
17 |
#include <linux/pageblock-flags.h> |
18
|
|
-#include <linux/bounds.h> |
|
18 |
+#include <generated/bounds.h> |
19
|
19 |
#include <asm/atomic.h> |
20
|
20 |
#include <asm/page.h> |
21
|
21 |
|
... |
... |
@@ -8,7 +8,7 @@ |
8
|
8 |
#include <linux/types.h> |
9
|
9 |
#ifndef __GENERATING_BOUNDS_H |
10
|
10 |
#include <linux/mm_types.h> |
11
|
|
-#include <linux/bounds.h> |
|
11 |
+#include <generated/bounds.h> |
12
|
12 |
#endif /* !__GENERATING_BOUNDS_H */ |
13
|
13 |
|
14
|
14 |
/* |
... |
... |
@@ -12,7 +12,7 @@ |
12
|
12 |
|
13
|
13 |
void foo(void) |
14
|
14 |
{ |
15
|
|
- /* The enum constants to put into include/linux/bounds.h */ |
|
15 |
+ /* The enum constants to put into include/generated/bounds.h */ |
16
|
16 |
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS); |
17
|
17 |
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); |
18
|
18 |
/* End of constants */ |