[XTENSA] Add volatile keyword to asm statements accessing counter registers
authorChris Zankel <chris@zankel.net>
Wed, 19 Dec 2007 18:21:50 +0000 (10:21 -0800)
committerChris Zankel <chris@zankel.net>
Thu, 14 Feb 2008 01:24:47 +0000 (17:24 -0800)
commitde6b03456e2e11cbff9f4bb147177374b260d04e
tree0890edb9c5efe46689eb641792b1a66cfb1b1d1d
parent03dfa442e5aaf644bb9b3b506abbd76786867eb1
[XTENSA] Add volatile keyword to asm statements accessing counter registers

The compiler get's sometimes to smart and doesn't reread the
counter registers and the kernel doesn't schedule until the
counter wraps around.

Signed-off-by: Chris Zankel <chris@zankel.net>
include/asm-xtensa/timex.h