X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/282f6f3b96d73cd3b8932a4ec5755b918a3c3416..01b12d9b7e632bab288a0e2736525ce32fd1004d:/lincan/include/can_sysdep.h diff --git a/lincan/include/can_sysdep.h b/lincan/include/can_sysdep.h index 50a87a2..6061542 100644 --- a/lincan/include/can_sysdep.h +++ b/lincan/include/can_sysdep.h @@ -173,6 +173,9 @@ #define can_printk printk +/* CAN message timestamp source, it is called from interrupt context */ +#define can_gettimeofday do_gettimeofday + #else /*CAN_WITH_RTL*/ #define can_spinlock_t rtl_spinlock_t @@ -201,9 +204,9 @@ extern can_spinlock_t can_irq_manipulation_lock; -#endif /*CAN_WITH_RTL*/ - /* CAN message timestamp source, it is called from interrupt context */ -#define can_gettimeofday do_gettimeofday +#define can_gettimeofday(ptr) do { ;} while(0) + +#endif /*CAN_WITH_RTL*/ #endif /*_CAN_SYSDEP_H*/