diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-05-18 14:19:12 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-19 15:13:45 +0200 |
commit | 0a227985d4a993a322ff72ecbaeee2611d624216 (patch) | |
tree | c433aed266b2d993e47b4b883bd8ffb406ef02ee /kernel/time/timeconst.bc | |
parent | 4cfafd3082afc707653aeb82e9f8e7b596fbbfd6 (diff) | |
download | linux-0a227985d4a993a322ff72ecbaeee2611d624216.tar.gz linux-0a227985d4a993a322ff72ecbaeee2611d624216.tar.bz2 linux-0a227985d4a993a322ff72ecbaeee2611d624216.zip |
time: Move timeconst.h into include/generated
kernel/time/timeconst.h is moved to include/generated/ and generated
by the top level Kbuild. This allows using timeconst.h in an earlier
build stage.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Joe Perches <joe@perches.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Andrew Hunter <ahh@google.com>
Cc: Paul Turner <pjt@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Link: http://lkml.kernel.org/r/1431951554-5563-1-git-send-email-hofrat@osadl.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/timeconst.bc')
-rw-r--r-- | kernel/time/timeconst.bc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/time/timeconst.bc b/kernel/time/timeconst.bc index 511bdf2cafda..c7388dee8635 100644 --- a/kernel/time/timeconst.bc +++ b/kernel/time/timeconst.bc @@ -50,7 +50,7 @@ define timeconst(hz) { print "#include <linux/types.h>\n\n" print "#if HZ != ", hz, "\n" - print "#error \qkernel/timeconst.h has the wrong HZ value!\q\n" + print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n" print "#endif\n\n" if (hz < 2) { @@ -105,4 +105,5 @@ define timeconst(hz) { halt } +hz = read(); timeconst(hz) |