]> git.baikalelectronics.ru Git - kernel.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)
commitffac1e16360ca6aad5fa5e9cda9edded84c227a2
treee9cc98dbd2bf308b4d1b2ac58eb8659342ca7aca
parent12c780401ad77980cddac8f4f7a47a9a3e05dc41
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