These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / kernel / time / timeconst.bc
index 511bdf2..c486889 100644 (file)
@@ -39,7 +39,7 @@ define fmuls(b,n,d) {
 }
 
 define timeconst(hz) {
-       print "/* Automatically generated by kernel/timeconst.bc */\n"
+       print "/* Automatically generated by kernel/time/timeconst.bc */\n"
        print "/* Time conversion constants for HZ == ", hz, " */\n"
        print "\n"
 
@@ -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)