aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-06-14 16:52:53 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-14 16:52:53 -0400
commitae937debe178b4327fd67d604ee83a20f22aa0de (patch)
treed337179b207aa5be5e47330199319dd6f421b3b7
parent9cf46a35d25debfc314dd6f090b8075bd0b7f74c (diff)
parent0419bb466f5059e40e141b1e3ab258a862ae11f0 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6: headers_check fix: mn10300, setup.h headers_check fix: mn10300, ptrace.h
-rw-r--r--arch/mn10300/include/asm/ptrace.h5
-rw-r--r--arch/mn10300/include/asm/setup.h3
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mn10300/include/asm/ptrace.h b/arch/mn10300/include/asm/ptrace.h
index 921942ed1b03..1b0ba5e182b0 100644
--- a/arch/mn10300/include/asm/ptrace.h
+++ b/arch/mn10300/include/asm/ptrace.h
@@ -77,8 +77,6 @@ struct pt_regs {
77}; 77};
78#endif 78#endif
79 79
80extern struct pt_regs *__frame; /* current frame pointer */
81
82/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ 80/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
83#define PTRACE_GETREGS 12 81#define PTRACE_GETREGS 12
84#define PTRACE_SETREGS 13 82#define PTRACE_SETREGS 13
@@ -90,6 +88,8 @@ extern struct pt_regs *__frame; /* current frame pointer */
90 88
91#if defined(__KERNEL__) 89#if defined(__KERNEL__)
92 90
91extern struct pt_regs *__frame; /* current frame pointer */
92
93#if !defined(__ASSEMBLY__) 93#if !defined(__ASSEMBLY__)
94struct task_struct; 94struct task_struct;
95 95
@@ -107,5 +107,4 @@ extern void user_disable_single_step(struct task_struct *);
107#define profile_pc(regs) ((regs)->pc) 107#define profile_pc(regs) ((regs)->pc)
108 108
109#endif /* __KERNEL__ */ 109#endif /* __KERNEL__ */
110
111#endif /* _ASM_PTRACE_H */ 110#endif /* _ASM_PTRACE_H */
diff --git a/arch/mn10300/include/asm/setup.h b/arch/mn10300/include/asm/setup.h
index 08356c832283..c229d1e3f999 100644
--- a/arch/mn10300/include/asm/setup.h
+++ b/arch/mn10300/include/asm/setup.h
@@ -11,7 +11,8 @@
11#ifndef _ASM_SETUP_H 11#ifndef _ASM_SETUP_H
12#define _ASM_SETUP_H 12#define _ASM_SETUP_H
13 13
14#ifdef __KERNEL__
14extern void __init unit_setup(void); 15extern void __init unit_setup(void);
15extern void __init unit_init_IRQ(void); 16extern void __init unit_init_IRQ(void);
16 17#endif
17#endif /* _ASM_SETUP_H */ 18#endif /* _ASM_SETUP_H */