diff options
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index fe8d95146893..34843c318419 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/smp.h> | 22 | #include <linux/smp.h> |
23 | #include <linux/completion.h> | 23 | #include <linux/completion.h> |
24 | #include <linux/cpumask.h> | 24 | #include <linux/cpumask.h> |
25 | #include <linux/lmb.h> | ||
25 | 26 | ||
26 | #include <asm/prom.h> | 27 | #include <asm/prom.h> |
27 | #include <asm/rtas.h> | 28 | #include <asm/rtas.h> |
@@ -33,7 +34,6 @@ | |||
33 | #include <asm/system.h> | 34 | #include <asm/system.h> |
34 | #include <asm/delay.h> | 35 | #include <asm/delay.h> |
35 | #include <asm/uaccess.h> | 36 | #include <asm/uaccess.h> |
36 | #include <asm/lmb.h> | ||
37 | #include <asm/udbg.h> | 37 | #include <asm/udbg.h> |
38 | #include <asm/syscalls.h> | 38 | #include <asm/syscalls.h> |
39 | #include <asm/smp.h> | 39 | #include <asm/smp.h> |
@@ -506,7 +506,7 @@ int rtas_error_rc(int rtas_rc) | |||
506 | break; | 506 | break; |
507 | default: | 507 | default: |
508 | printk(KERN_ERR "%s: unexpected RTAS error %d\n", | 508 | printk(KERN_ERR "%s: unexpected RTAS error %d\n", |
509 | __FUNCTION__, rtas_rc); | 509 | __func__, rtas_rc); |
510 | rc = -ERANGE; | 510 | rc = -ERANGE; |
511 | break; | 511 | break; |
512 | } | 512 | } |