Skip to content

Commit

Permalink
m68knommu: remove reduntant definitions of _ramvec
Browse files Browse the repository at this point in the history
The base of the real RAM resident hardware vectors, _ramvec, is declared in
our asm/traps.h. No need to have local declarations spread around in other
files that use this. So remove them.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Greg Ungerer committed Mar 4, 2012
1 parent f84f52a commit d3f033f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions arch/m68k/platform/68328/ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ asmlinkage irqreturn_t inthandler5(void);
asmlinkage irqreturn_t inthandler6(void);
asmlinkage irqreturn_t inthandler7(void);

extern e_vector *_ramvec;

/* The 68k family did not have a good way to determine the source
* of interrupts until later in the family. The EC000 core does
* not provide the vector number on the stack, we vector everything
Expand Down
2 changes: 0 additions & 2 deletions arch/m68k/platform/68360/ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ asmlinkage void trap(void);
asmlinkage void bad_interrupt(void);
asmlinkage void inthandler(void);

extern void *_ramvec[];

static void intc_irq_unmask(struct irq_data *d)
{
pquicc->intr_cimr |= (1 << d->irq);
Expand Down
2 changes: 0 additions & 2 deletions arch/m68k/platform/coldfire/vectors.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ asmlinkage void dbginterrupt_c(struct frame *fp)

/***************************************************************************/

extern e_vector *_ramvec;

/* Assembler routines */
asmlinkage void buserr(void);
asmlinkage void trap(void);
Expand Down

0 comments on commit d3f033f

Please sign in to comment.