Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44171
b: refs/heads/master
c: 2d911e9
h: refs/heads/master
i:
  44169: d8a38a3
  44167: acf1ea2
v: v3
  • Loading branch information
Ralf Baechle committed Dec 10, 2006
1 parent 8f80dc0 commit 065829b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86384d544157db23879064cde36061cdcafc6794
refs/heads/master: 2d911e9a4e74ddbd059f9dabea402a119ef22e3d
8 changes: 8 additions & 0 deletions trunk/include/asm-mips/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ struct pt_regs {

extern asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit);

extern NORET_TYPE void die(const char *, struct pt_regs *);

static inline void die_if_kernel(const char *str, struct pt_regs *regs)
{
if (unlikely(!user_mode(regs)))
die(str, regs);
}

#endif

#endif /* _ASM_PTRACE_H */
9 changes: 0 additions & 9 deletions trunk/include/asm-mips/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <asm/barrier.h>
#include <asm/cpu-features.h>
#include <asm/dsp.h>
#include <asm/ptrace.h>
#include <asm/war.h>


Expand Down Expand Up @@ -336,14 +335,6 @@ extern void *set_except_vector(int n, void *addr);
extern unsigned long ebase;
extern void per_cpu_trap_init(void);

extern NORET_TYPE void die(const char *, struct pt_regs *);

static inline void die_if_kernel(const char *str, struct pt_regs *regs)
{
if (unlikely(!user_mode(regs)))
die(str, regs);
}

extern int stop_a_enabled;

/*
Expand Down

0 comments on commit 065829b

Please sign in to comment.