diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-04-19 15:57:19 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2009-12-12 07:08:14 -0500 |
commit | 01fc0ac198eabcbf460e1ed058860a935b6c2c9a (patch) | |
tree | f980b4c770298bf9491dcfe3f02359fa94b89d04 | |
parent | 9367858dd08caf4e6ebd511abd2fca0a2d87b648 (diff) |
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>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Kbuild | 2 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | include/linux/mmzone.h | 2 | ||||
-rw-r--r-- | include/linux/page-flags.h | 2 | ||||
-rw-r--r-- | kernel/bounds.c | 2 |
6 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore index 946c7ec5c922..36d9cd6d4281 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -52,7 +52,6 @@ include/linux/autoconf.h | |||
52 | include/linux/compile.h | 52 | include/linux/compile.h |
53 | include/linux/version.h | 53 | include/linux/version.h |
54 | include/linux/utsrelease.h | 54 | include/linux/utsrelease.h |
55 | include/linux/bounds.h | ||
56 | include/generated | 55 | include/generated |
57 | 56 | ||
58 | # stgit generated dirs | 57 | # stgit generated dirs |
@@ -8,7 +8,7 @@ | |||
8 | ##### | 8 | ##### |
9 | # 1) Generate bounds.h | 9 | # 1) Generate bounds.h |
10 | 10 | ||
11 | bounds-file := include/linux/bounds.h | 11 | bounds-file := include/generated/bounds.h |
12 | 12 | ||
13 | always := $(bounds-file) | 13 | always := $(bounds-file) |
14 | targets := $(bounds-file) kernel/bounds.s | 14 | targets := $(bounds-file) kernel/bounds.s |
@@ -1197,7 +1197,7 @@ MRPROPER_DIRS += include/config include2 usr/include include/generated | |||
1197 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ | 1197 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
1198 | include/linux/autoconf.h include/linux/version.h \ | 1198 | include/linux/autoconf.h include/linux/version.h \ |
1199 | include/linux/utsrelease.h \ | 1199 | include/linux/utsrelease.h \ |
1200 | include/linux/bounds.h include/asm*/asm-offsets.h \ | 1200 | include/asm*/asm-offsets.h \ |
1201 | Module.symvers Module.markers tags TAGS cscope* | 1201 | Module.symvers Module.markers tags TAGS cscope* |
1202 | 1202 | ||
1203 | # clean - Delete most, but leave enough to build external modules | 1203 | # clean - Delete most, but leave enough to build external modules |
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 6f7561730d88..30fe668c2542 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/seqlock.h> | 15 | #include <linux/seqlock.h> |
16 | #include <linux/nodemask.h> | 16 | #include <linux/nodemask.h> |
17 | #include <linux/pageblock-flags.h> | 17 | #include <linux/pageblock-flags.h> |
18 | #include <linux/bounds.h> | 18 | #include <generated/bounds.h> |
19 | #include <asm/atomic.h> | 19 | #include <asm/atomic.h> |
20 | #include <asm/page.h> | 20 | #include <asm/page.h> |
21 | 21 | ||
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 6b202b173955..ef36725aa515 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/types.h> | 8 | #include <linux/types.h> |
9 | #ifndef __GENERATING_BOUNDS_H | 9 | #ifndef __GENERATING_BOUNDS_H |
10 | #include <linux/mm_types.h> | 10 | #include <linux/mm_types.h> |
11 | #include <linux/bounds.h> | 11 | #include <generated/bounds.h> |
12 | #endif /* !__GENERATING_BOUNDS_H */ | 12 | #endif /* !__GENERATING_BOUNDS_H */ |
13 | 13 | ||
14 | /* | 14 | /* |
diff --git a/kernel/bounds.c b/kernel/bounds.c index 3c5301381837..98a51f26c136 100644 --- a/kernel/bounds.c +++ b/kernel/bounds.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | void foo(void) | 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 | DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS); | 16 | DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS); |
17 | DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); | 17 | DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); |
18 | /* End of constants */ | 18 | /* End of constants */ |