diff options
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 17dc79198515..0f14c2e63a67 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -328,7 +328,7 @@ int rtas_call(int token, int nargs, int nret, int *outputs, ...) | |||
328 | char *buff_copy = NULL; | 328 | char *buff_copy = NULL; |
329 | int ret; | 329 | int ret; |
330 | 330 | ||
331 | if (token == RTAS_UNKNOWN_SERVICE) | 331 | if (!rtas.entry || token == RTAS_UNKNOWN_SERVICE) |
332 | return -1; | 332 | return -1; |
333 | 333 | ||
334 | /* Gotta do something different here, use global lock for now... */ | 334 | /* Gotta do something different here, use global lock for now... */ |