Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17602
b: refs/heads/master
c: 41dead4
h: refs/heads/master
v: v3
  • Loading branch information
Anil S Keshavamurthy authored and Linus Torvalds committed Jan 10, 2006
1 parent 645c1fc commit b4e4caa
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 35 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: 2d14e39da8712cff8a92298f464a25afb4283ccf
refs/heads/master: 41dead49ccb4d7f0a34d56478f487342a3c3ab2b
8 changes: 0 additions & 8 deletions trunk/include/asm-i386/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ static inline void restore_interrupts(struct pt_regs *regs)
local_irq_enable();
}

#ifdef CONFIG_KPROBES
extern int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data);
#else /* !CONFIG_KPROBES */
static inline int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data)
{
return 0;
}
#endif
#endif /* _ASM_KPROBES_H */
8 changes: 0 additions & 8 deletions trunk/include/asm-ia64/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ static inline void arch_copy_kprobe(struct kprobe *p)
{
}

#ifdef CONFIG_KPROBES
extern int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data);

Expand All @@ -124,11 +123,4 @@ static inline void jprobe_return(void)
{
}

#else /* !CONFIG_KPROBES */
static inline int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data)
{
return 0;
}
#endif
#endif /* _ASM_KPROBES_H */
10 changes: 1 addition & 9 deletions trunk/include/asm-powerpc/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,7 @@ struct kprobe_ctlblk {
struct prev_kprobe prev_kprobe;
};

#ifdef CONFIG_KPROBES
extern int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data);
#else /* !CONFIG_KPROBES */
static inline int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data)
{
return 0;
}
#endif
unsigned long val, void *data);
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_KPROBES_H */
9 changes: 0 additions & 9 deletions trunk/include/asm-sparc64/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ struct kprobe_ctlblk {
struct prev_kprobe prev_kprobe;
};

#ifdef CONFIG_KPROBES
extern int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data);
#else /* !CONFIG_KPROBES */
static inline int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data)
{
return 0;
}
#endif

#endif /* _SPARC64_KPROBES_H */

0 comments on commit b4e4caa

Please sign in to comment.