]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xtensa: fix __delay for small loop count
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Oct 2013 22:42:16 +0000 (02:42 +0400)
committerChris Zankel <chris@zankel.net>
Mon, 2 Dec 2013 22:23:44 +0000 (14:23 -0800)
commit24f63d7b7784799705250de106d94b034107e163
tree45b48385bcd4ff03086390f6582246d06fd9b53a
parentea471318a88a9931ea7cf57221a75ec22fade783
xtensa: fix __delay for small loop count

Avoid __delay counter underflow for loop counts < 2.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/delay.h