Repository navigation
Commit 2044fdb
hangcheck-timer: Use ktime_get_ns()
There is no point in having a S390 private implementation and there is
no point in using the raw monotonic time. The NTP freqeuency
adjustment of CLOCK_MONOTONIC is really not doing any harm for the
hang check timer.
Use ktime_get_ns() for everything and get rid of the timespec
conversions.
V2: Drop the raw monotonic and the S390 special case
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>1 parent 61edec8 commit 2044fdb
1 file changed
Lines changed: 5 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 120 | + | |
138 | 121 | | |
139 | 122 | | |
140 | 123 | | |
| |||
143 | 126 | | |
144 | 127 | | |
145 | 128 | | |
146 | | - | |
147 | 129 | | |
148 | 130 | | |
149 | 131 | | |
150 | 132 | | |
151 | | - | |
| 133 | + | |
152 | 134 | | |
153 | 135 | | |
154 | 136 | | |
| |||
177 | 159 | | |
178 | 160 | | |
179 | 161 | | |
180 | | - | |
| 162 | + | |
181 | 163 | | |
182 | 164 | | |
183 | 165 | | |
184 | 166 | | |
185 | 167 | | |
186 | 168 | | |
187 | 169 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 170 | | |
194 | 171 | | |
195 | 172 | | |
196 | 173 | | |
197 | | - | |
| 174 | + | |
198 | 175 | | |
199 | 176 | | |
200 | 177 | | |
| |||
0 commit comments