[PATCH] powerpc/mm: remove unused function prototype

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2798d

2 messages, 2 authors, 2018-12-07 · open the first message on its own page

[PATCH] powerpc/mm: remove unused function prototype

From: Breno Leitao <leitao@debian.org>
Date: 2018-11-01 21:56:06

Commit f384796c40dc ("powerpc/mm: Add support for handling > 512TB address
in SLB miss") removed function slb_miss_bad_addr(struct pt_regs *regs), but
kept its declaration in the prototype file. This patch simply removes the
function definition.

Signed-off-by: Breno Leitao <leitao@debian.org>
---
 arch/powerpc/include/asm/asm-prototypes.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h
index ec691d489656..6f201b199c02 100644
--- a/arch/powerpc/include/asm/asm-prototypes.h
+++ b/arch/powerpc/include/asm/asm-prototypes.h
@@ -61,7 +61,6 @@ void RunModeException(struct pt_regs *regs);
 void single_step_exception(struct pt_regs *regs);
 void program_check_exception(struct pt_regs *regs);
 void alignment_exception(struct pt_regs *regs);
-void slb_miss_bad_addr(struct pt_regs *regs);
 void StackOverflow(struct pt_regs *regs);
 void kernel_fp_unavailable_exception(struct pt_regs *regs);
 void altivec_unavailable_exception(struct pt_regs *regs);
-- 
2.13.2

Re: powerpc/mm: remove unused function prototype

From: Michael Ellerman <hidden>
Date: 2018-12-07 13:24:13

On Thu, 2018-11-01 at 21:54:01 UTC, Breno Leitao wrote:
Commit f384796c40dc ("powerpc/mm: Add support for handling > 512TB address
in SLB miss") removed function slb_miss_bad_addr(struct pt_regs *regs), but
kept its declaration in the prototype file. This patch simply removes the
function definition.

Signed-off-by: Breno Leitao <leitao@debian.org>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f91203e71c64202b4b20fd0c2d5e94

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help