commit | 922cc171998ac3dbe74d57011ef7ed57e9b0d7df | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Mon Oct 31 14:09:52 2016 -0700 |
committer | Vineet Gupta <vgupta@synopsys.com> | Mon Nov 07 11:19:44 2016 -0800 |
tree | f5ed33ca33fba86596ad96abaa4bfaffdb2b11d1 | |
parent | e6e335bf3a400bc3b5a65322a891318a25749769 [diff] |
ARC: timer: rtc: implement read loop in "C" vs. inline asm The current code doesn't even compile as somehow the inline assembly can't see the register names defined as ARC_RTC_* I'm pretty sure It worked when I first got it merged, but the tools were definitely different then. So better to write this in "C" anyways. CC: stable@vger.kernel.org #4.2+ Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>