Subject: [PATCH 2/2] arch/avr32: fix build failure caused by wrong prototype

Previous thread: Fix build error for i.MX51 (mx51_defconfig) by Amit Kucheria on Wednesday, April 21, 2010 - 2:17 pm. (4 messages)

Next thread: Re: patch acpi-ec-allow-multibyte-access-to-ec.patch added to 2.6.33-stable tree by Stefan Bader on Wednesday, April 21, 2010 - 2:39 pm. (2 messages)
From: Peter Huewe
Date: Wednesday, April 21, 2010 - 2:19 pm

From: Peter Huewe <peterhuewe@gmx.de>

This patch fixes a build failure[1] introduced by 1d8393171
which had the static keyword as a leftover.

Kernelversion: linux-next-20100421

References:
[1]http://kisskb.ellerman.id.au/kisskb/buildresult/2448162/

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
 arch/avr32/kernel/ptrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/avr32/kernel/ptrace.c b/arch/avr32/kernel/ptrace.c
index dd5b882..5e73c25 100644
--- a/arch/avr32/kernel/ptrace.c
+++ b/arch/avr32/kernel/ptrace.c
@@ -28,7 +28,7 @@ static struct pt_regs *get_user_regs(struct task_struct *tsk)
 				  THREAD_SIZE - sizeof(struct pt_regs));
 }
 
-static void user_enable_single_step(struct task_struct *tsk)
+void user_enable_single_step(struct task_struct *tsk)
 {
 	pr_debug("user_enable_single_step: pid=%u, PC=0x%08lx, SR=0x%08lx\n",
 		 tsk->pid, task_pt_regs(tsk)->pc, task_pt_regs(tsk)->sr);
-- 
1.6.4.4

--

Previous thread: Fix build error for i.MX51 (mx51_defconfig) by Amit Kucheria on Wednesday, April 21, 2010 - 2:17 pm. (4 messages)

Next thread: Re: patch acpi-ec-allow-multibyte-access-to-ec.patch added to 2.6.33-stable tree by Stefan Bader on Wednesday, April 21, 2010 - 2:39 pm. (2 messages)