[RFC PATCH 03/10] s390/bitops: find leftmost bit instruction support

2012-11-14 Thread Jan Glauber
The flogr instruction scans a bitmap starting from the leftmost bit. Implement support for these bitops. This could be useful to scan bitmaps like an interrupt vector set by the hardware starting at the leftmost bit. Signed-off-by: Jan Glauber --- arch/s390/include/asm/bitops.h | 81

[RFC PATCH 03/10] s390/bitops: find leftmost bit instruction support

2012-11-14 Thread Jan Glauber
The flogr instruction scans a bitmap starting from the leftmost bit. Implement support for these bitops. This could be useful to scan bitmaps like an interrupt vector set by the hardware starting at the leftmost bit. Signed-off-by: Jan Glauber j...@linux.vnet.ibm.com ---