summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/rtas.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-11-24 12:26:12 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-12-17 12:40:56 +0100
commitcd5cdeb6c8a42fb87644b0eb5d240f6ce6172402 (patch)
tree6a20f1366f4077ca3fb7bd6b6832a507b417f417 /arch/powerpc/include/asm/rtas.h
parentpowerpc/rtas: Use rtas_call_unlocked() in call_rtas_display_status() (diff)
downloadlinux-cd5cdeb6c8a42fb87644b0eb5d240f6ce6172402.tar.xz
linux-cd5cdeb6c8a42fb87644b0eb5d240f6ce6172402.zip
powerpc/rtas: Make enter_rtas() private
There are no longer any users of enter_rtas() outside of rtas.c, so make it "private", by moving the declaration inside rtas.c. Hopefully this will encourage people to use one of the wrappers which takes the sharp edges off the RTAS calling sequence. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/rtas.h')
-rw-r--r--arch/powerpc/include/asm/rtas.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 6db1d6977a0d..51400baa8d48 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -334,7 +334,6 @@ extern void (*rtas_flash_term_hook)(int);
extern struct rtas_t rtas;
-extern void enter_rtas(unsigned long);
extern int rtas_token(const char *service);
extern int rtas_service_present(const char *service);
extern int rtas_call(int token, int, int, int *, ...);