]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: Treat the bitops index argument as an 'int'
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 7 May 2013 17:02:58 +0000 (18:02 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 8 May 2013 09:33:17 +0000 (10:33 +0100)
commit420c158dcf96ee3a5758c9bf1586b163584c75c7
treee9cc98dbd2bf308b4d1b2ac58eb8659342ca7aca
parent0e7f7bcc3fc87489cda5aa6aff8ce40eed912279
arm64: Treat the bitops index argument as an 'int'

The bitops prototype use an 'int' as the bit index type but the asm
implementation assume it to be a 'long'. Since the compiler does not
guarantee zeroing the upper 32-bits in a register when used as 'int',
change the bitops implementation accordingly.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/lib/bitops.S