aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/tlbflush.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-10-24 04:12:42 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-25 23:26:33 -0400
commitfa3522407f01ead1ec14bdd6b785ea08d17d500d (patch)
treec4ddfb52859c9c304404ad010d927ed76a46f9a0 /include/asm-avr32/tlbflush.h
parentbee8ce809fb1c877388be032b468574a1cfff9ef (diff)
[PATCH] AVR32: Fix oversize immediates in atomic.h
When calling e.g. atomic_sub_return with a large constant, the compiler may output an immediate that is too large for the sub instruction in the middle of the loop. Fix this by explicitly specifying the number of bits allowed in the constraint. Also stop atomic_add_return() and friends from falling back to their respective "sub" variants if the constant is too large to fit in an immediate. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-avr32/tlbflush.h')
0 files changed, 0 insertions, 0 deletions