diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-06-23 18:20:10 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-28 11:59:47 +1000 |
commit | 24da3dd53430ec07ce9110b1eaaad080c3c7ecf6 (patch) | |
tree | 1c71b06224549fbc5b4860e7b38a1777ca3fbaea /arch/powerpc/kernel/head_booke.h | |
parent | 4ba99b97dadd35b9ce1438b2bc7c992a4a14a8b1 (diff) |
[POWERPC] Make rtas_call() safe if RTAS hasn't been initialised
Currently it's unsafe to call rtas_call() prior to rtas_initialize(). This
is because the rtas.entry value hasn't been setup and so we don't know
where to enter, but we just try anyway.
We can't do anything intelligent without rtas.entry, so if it's not set, just
return. Code that calls rtas_call() early needs to be aware that the call
might fail.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/head_booke.h')
0 files changed, 0 insertions, 0 deletions