diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-10 01:25:01 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-13 20:18:34 -0400 |
commit | b8947444a738c6407466244c60e9e4a2999af555 (patch) | |
tree | 612241a7bc6f64231be406b10137114adf66236d /arch/sh | |
parent | 705962ccc9d21a08b74b6b6e1d3cf10f98968a67 (diff) |
sh: Shut up compiler warnings in __do_page_fault().
GCC doesn't seem to be able to figure this one out for
itself, so just shut it up..
CC arch/sh/mm/fault.o
arch/sh/mm/fault.c: In function '__do_page_fault':
arch/sh/mm/fault.c:288: warning: 'ptl' may be used uninitialized in this function
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c index 9207da67ff8a..62d028921036 100644 --- a/arch/sh/mm/fault.c +++ b/arch/sh/mm/fault.c | |||
@@ -285,7 +285,7 @@ asmlinkage int __kprobes __do_page_fault(struct pt_regs *regs, | |||
285 | pte_t *pte; | 285 | pte_t *pte; |
286 | pte_t entry; | 286 | pte_t entry; |
287 | struct mm_struct *mm = current->mm; | 287 | struct mm_struct *mm = current->mm; |
288 | spinlock_t *ptl; | 288 | spinlock_t *ptl = NULL; |
289 | int ret = 1; | 289 | int ret = 1; |
290 | 290 | ||
291 | #ifdef CONFIG_SH_KGDB | 291 | #ifdef CONFIG_SH_KGDB |