Commit 01fc0ac198eabcbf460e1ed058860a935b6c2c9a

Authored by Sam Ravnborg
Committed by Michal Marek
1 parent 9367858dd0

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
include/linux/mmzone.h
... ... @@ -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  
include/linux/page-flags.h
... ... @@ -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 */