commit | 035ed26fb090ff3277900259f19d57e54da2e116 | [log] [tgz] |
---|---|---|
author | Michael Neuling <mikey@neuling.org> | Tue Aug 19 14:48:00 2014 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Sep 25 23:14:35 2014 +1000 |
tree | 9af68eea506a739905892a3050a4c89a3b289f46 | |
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>