s390/bitops: find leftmost bit instruction support
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 29 Nov 2012 12:01:15 +0000 (13:01 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 30 Nov 2012 14:40:48 +0000 (15:40 +0100)
commite56e4e87e370a0f121450d52337969aa1be21ff7
tree9d1c94149a13454dc1f4b9c7cb2b1de680625ec5
parenta755a45dd928e05a4fb980d31d4a0dbc49adc562
s390/bitops: find leftmost bit instruction support

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 <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/bitops.h