[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenARM] [MINIOS] evtchn_pending_sel issue
There is no shift of one bit in __ffs().. It returns the index of the first set bit in the 32-bit word.. So, it correctly returns 0 for your case.. You can check include/asm-arm/bitops.h for the definition of __ffs().. For input word = 1, all the if conditions will evaluate to true, and you will end up with k = 31-31 = 0..
-Rahul.
_______________________________________________ Xen-arm mailing list Xen-arm@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-arm
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |