c - Bitwise error in <linux/jiffies.h> -
so succeeded getting header compile(got rid of division 0 error)but there 1 troublesome bug in 4 lines of header code stubbornly refuses resolved. here below. compiler error keep getting is: error: missing binary operator before token "(". , points directly line "#if" preprocessor conditional expression.
#define sec_jiffie_sc (31 - shift_hz) #if !((((nsec_per_sec << 2) / tick_nsec) << (sec_jiffie_sc - 2)) & 0x80000000) #undef sec_jiffie_sc #define sec_jiffie_sc (32 - shift_hz) #endif that "!" supposed bitwise not think , using "~" instead doesn't help.
Comments
Post a Comment