mirror of
https://github.com/adulau/aha.git
synced 2024-12-26 18:56:14 +00:00
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>
This commit is contained in:
parent
9367858dd0
commit
01fc0ac198
6 changed files with 5 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -52,7 +52,6 @@ include/linux/autoconf.h
|
||||||
include/linux/compile.h
|
include/linux/compile.h
|
||||||
include/linux/version.h
|
include/linux/version.h
|
||||||
include/linux/utsrelease.h
|
include/linux/utsrelease.h
|
||||||
include/linux/bounds.h
|
|
||||||
include/generated
|
include/generated
|
||||||
|
|
||||||
# stgit generated dirs
|
# stgit generated dirs
|
||||||
|
|
2
Kbuild
2
Kbuild
|
@ -8,7 +8,7 @@
|
||||||
#####
|
#####
|
||||||
# 1) Generate bounds.h
|
# 1) Generate bounds.h
|
||||||
|
|
||||||
bounds-file := include/linux/bounds.h
|
bounds-file := include/generated/bounds.h
|
||||||
|
|
||||||
always := $(bounds-file)
|
always := $(bounds-file)
|
||||||
targets := $(bounds-file) kernel/bounds.s
|
targets := $(bounds-file) kernel/bounds.s
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1197,7 +1197,7 @@ MRPROPER_DIRS += include/config include2 usr/include include/generated
|
||||||
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
|
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
|
||||||
include/linux/autoconf.h include/linux/version.h \
|
include/linux/autoconf.h include/linux/version.h \
|
||||||
include/linux/utsrelease.h \
|
include/linux/utsrelease.h \
|
||||||
include/linux/bounds.h include/asm*/asm-offsets.h \
|
include/asm*/asm-offsets.h \
|
||||||
Module.symvers Module.markers tags TAGS cscope*
|
Module.symvers Module.markers tags TAGS cscope*
|
||||||
|
|
||||||
# clean - Delete most, but leave enough to build external modules
|
# clean - Delete most, but leave enough to build external modules
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include <linux/seqlock.h>
|
#include <linux/seqlock.h>
|
||||||
#include <linux/nodemask.h>
|
#include <linux/nodemask.h>
|
||||||
#include <linux/pageblock-flags.h>
|
#include <linux/pageblock-flags.h>
|
||||||
#include <linux/bounds.h>
|
#include <generated/bounds.h>
|
||||||
#include <asm/atomic.h>
|
#include <asm/atomic.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#ifndef __GENERATING_BOUNDS_H
|
#ifndef __GENERATING_BOUNDS_H
|
||||||
#include <linux/mm_types.h>
|
#include <linux/mm_types.h>
|
||||||
#include <linux/bounds.h>
|
#include <generated/bounds.h>
|
||||||
#endif /* !__GENERATING_BOUNDS_H */
|
#endif /* !__GENERATING_BOUNDS_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
void foo(void)
|
void foo(void)
|
||||||
{
|
{
|
||||||
/* The enum constants to put into include/linux/bounds.h */
|
/* The enum constants to put into include/generated/bounds.h */
|
||||||
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
|
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
|
||||||
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
|
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
|
||||||
/* End of constants */
|
/* End of constants */
|
||||||
|
|
Loading…
Reference in a new issue