Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers…
Browse files Browse the repository at this point in the history
…-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
  • Loading branch information
torvalds committed Jun 14, 2009
2 parents 9cf46a3 + 0419bb4 commit ae937de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions arch/mn10300/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ struct pt_regs {
};
#endif

extern struct pt_regs *__frame; /* current frame pointer */

/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
#define PTRACE_GETREGS 12
#define PTRACE_SETREGS 13
Expand All @@ -90,6 +88,8 @@ extern struct pt_regs *__frame; /* current frame pointer */

#if defined(__KERNEL__)

extern struct pt_regs *__frame; /* current frame pointer */

#if !defined(__ASSEMBLY__)
struct task_struct;

Expand All @@ -107,5 +107,4 @@ extern void user_disable_single_step(struct task_struct *);
#define profile_pc(regs) ((regs)->pc)

#endif /* __KERNEL__ */

#endif /* _ASM_PTRACE_H */
3 changes: 2 additions & 1 deletion arch/mn10300/include/asm/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
#ifndef _ASM_SETUP_H
#define _ASM_SETUP_H

#ifdef __KERNEL__
extern void __init unit_setup(void);
extern void __init unit_init_IRQ(void);

#endif
#endif /* _ASM_SETUP_H */

0 comments on commit ae937de

Please sign in to comment.