Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313746
b: refs/heads/master
c: 37c9ee0
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Jun 14, 2012
1 parent 571b79a commit 15b2d05
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 262 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: db218b3d55627ef515d3b32888b269ed319c4c8d
refs/heads/master: 37c9ee0161332291c8d13bc40084d24c744ed842
12 changes: 0 additions & 12 deletions trunk/arch/sh/kernel/traps_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
#include <asm/pgtable.h>
#include <asm/fpu.h>

#undef DEBUG_EXCEPTION
#ifdef DEBUG_EXCEPTION
/* implemented in ../lib/dbg.c */
extern void show_excp_regs(char *fname, int trapnr, int signr,
struct pt_regs *regs);
#else
#define show_excp_regs(a, b, c, d)
#endif

static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name,
unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk);

Expand Down Expand Up @@ -239,7 +230,6 @@ DO_ERROR(12, SIGILL, "reserved instruction", reserved_inst, current)
/* Called with interrupts disabled */
asmlinkage void do_exception_error(unsigned long ex, struct pt_regs *regs)
{
show_excp_regs(__func__, -1, -1, regs);
die_if_kernel("exception", regs, ex);
}

Expand All @@ -256,8 +246,6 @@ int do_unknown_trapa(unsigned long scId, struct pt_regs *regs)
static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name,
unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk)
{
show_excp_regs(fn_name, trapnr, signr, regs);

if (user_mode(regs))
force_sig(signr, tsk);

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/lib64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#

# Panic should really be compiled as PIC
lib-y := udelay.o dbg.o panic.o memcpy.o memset.o \
lib-y := udelay.o panic.o memcpy.o memset.o \
copy_user_memcpy.o copy_page.o strcpy.o strlen.o

# Extracted from libgcc
Expand Down
248 changes: 0 additions & 248 deletions trunk/arch/sh/lib64/dbg.c

This file was deleted.

0 comments on commit 15b2d05

Please sign in to comment.