Skip to content

Commit d7daa63

Browse files
hhoffstaettepoiana
authored andcommitted
fix(driver): include jiffies.h to prevent warning about missing prototype
Signed-off-by: Holger Hoffstätte <[email protected]>
1 parent 5f32757 commit d7daa63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/ppm_cputime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ void ppm_task_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime_t *
333333
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)) */
334334

335335
#if(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
336-
#include <linux/time.h>
336+
#include <linux/jiffies.h>
337337
#include <linux/param.h>
338338

339339
/*

0 commit comments

Comments
 (0)