On Tue, May 05, 2015 at 04:08:22PM +0530, Raghavendra K T wrote:> ================> #include <stdio.h>> > #define LOCK_INC 2Note that to be completely identical to the kernel code you should'vewritten:#define LOCK_INC ((unsigned int)2)as per:#define TICKET_LOCK_INC ((__ticket_t)__TICKET_LOCK_INC)