diff options
author | Michael Neuling <mikey@neuling.org> | 2014-08-19 14:48:00 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-09-25 23:14:35 +1000 |
commit | 035ed26fb090ff3277900259f19d57e54da2e116 (patch) | |
tree | 9af68eea506a739905892a3050a4c89a3b289f46 /lib/lzo | |
parent | bffe6bda342578deea0b74f2d9cb97cc40585a1b (diff) |
powerpc/powernv: Check OPAL RTC calls exists before using
Check that the OPAL_RTC_READ token exists before we use the OPAL RTC.
Refactors the code a little to merge error paths.
This avoids littering the OPAL console with:
"OPAL: Called with bad token 3".
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/lzo')
0 files changed, 0 insertions, 0 deletions