Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
To modify Ixia port numbers and IP in pod.yaml
[kvmfornfv.git]
/
kernel
/
kernel
/
time
/
timeconst.bc
diff --git
a/kernel/kernel/time/timeconst.bc
b/kernel/kernel/time/timeconst.bc
index
511bdf2
..
c486889
100644
(file)
--- a/
kernel/kernel/time/timeconst.bc
+++ b/
kernel/kernel/time/timeconst.bc
@@
-39,7
+39,7
@@
define fmuls(b,n,d) {
}
define timeconst(hz) {
}
define timeconst(hz) {
- print "/* Automatically generated by kernel/timeconst.bc */\n"
+ print "/* Automatically generated by kernel/time
/time
const.bc */\n"
print "/* Time conversion constants for HZ == ", hz, " */\n"
print "\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 "#include <linux/types.h>\n\n"
print "#if HZ != ", hz, "\n"
- print "#error \q
kernel
/timeconst.h has the wrong HZ value!\q\n"
+ print "#error \q
include/generated
/timeconst.h has the wrong HZ value!\q\n"
print "#endif\n\n"
if (hz < 2) {
print "#endif\n\n"
if (hz < 2) {
@@
-105,4
+105,5
@@
define timeconst(hz) {
halt
}
halt
}
+hz = read();
timeconst(hz)
timeconst(hz)