Reference count
i am compiling a .c file with kernel and i am getting following error
message--
error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
I know this error is coming because these macros are removed from linux-2.6 kernel code.Is there any solution of this problem excepting making them comment??
Please share your knowledge on this topic
|