Commit 374c3f55 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

m68knommu: remove use of colfire_trap_init

The switch to using the generic irq framework removed the
coldfire_trap_init() code, so remove all references to it.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aa1f1d10
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -101,7 +100,6 @@ void config_BSP(char *commandp, int size) ...@@ -101,7 +100,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -107,7 +106,6 @@ void config_BSP(char *commandp, int size) ...@@ -107,7 +106,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -30,7 +30,6 @@ unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS]; ...@@ -30,7 +30,6 @@ unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
void coldfire_pit_tick(void); void coldfire_pit_tick(void);
void coldfire_pit_init(irq_handler_t handler); void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void); unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -51,7 +50,6 @@ void config_BSP(char *commandp, int size) ...@@ -51,7 +50,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_pit_init; mach_sched_init = coldfire_pit_init;
mach_tick = coldfire_pit_tick; mach_tick = coldfire_pit_tick;
mach_gettimeoffset = coldfire_pit_offset; mach_gettimeoffset = coldfire_pit_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
void coldfire_pit_tick(void); void coldfire_pit_tick(void);
void coldfire_pit_init(irq_handler_t handler); void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void); unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -66,7 +65,6 @@ void config_BSP(char *commandp, int size) ...@@ -66,7 +65,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_pit_init; mach_sched_init = coldfire_pit_init;
mach_tick = coldfire_pit_tick; mach_tick = coldfire_pit_tick;
mach_gettimeoffset = coldfire_pit_offset; mach_gettimeoffset = coldfire_pit_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -99,7 +98,6 @@ void config_BSP(char *commandp, int size) ...@@ -99,7 +98,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
extern unsigned int mcf_timervector; extern unsigned int mcf_timervector;
...@@ -132,7 +131,6 @@ void config_BSP(char *commandp, int size) ...@@ -132,7 +131,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
void coldfire_pit_tick(void); void coldfire_pit_tick(void);
void coldfire_pit_init(irq_handler_t handler); void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void); unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -66,7 +65,6 @@ void config_BSP(char *commandp, int size) ...@@ -66,7 +65,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_pit_init; mach_sched_init = coldfire_pit_init;
mach_tick = coldfire_pit_tick; mach_tick = coldfire_pit_tick;
mach_gettimeoffset = coldfire_pit_offset; mach_gettimeoffset = coldfire_pit_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
void coldfire_pit_tick(void); void coldfire_pit_tick(void);
void coldfire_pit_init(irq_handler_t handler); void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void); unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
/***************************************************************************/ /***************************************************************************/
...@@ -66,7 +65,6 @@ void config_BSP(char *commandp, int size) ...@@ -66,7 +65,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_pit_init; mach_sched_init = coldfire_pit_init;
mach_tick = coldfire_pit_tick; mach_tick = coldfire_pit_tick;
mach_gettimeoffset = coldfire_pit_offset; mach_gettimeoffset = coldfire_pit_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
extern unsigned int mcf_timervector; extern unsigned int mcf_timervector;
...@@ -126,7 +125,6 @@ void config_BSP(char *commandp, int size) ...@@ -126,7 +125,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
#ifdef MCF_BDM_DISABLE #ifdef MCF_BDM_DISABLE
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
extern unsigned int mcf_timervector; extern unsigned int mcf_timervector;
...@@ -108,7 +107,6 @@ void config_BSP(char *commandp, int size) ...@@ -108,7 +107,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
#ifdef MCF_BDM_DISABLE #ifdef MCF_BDM_DISABLE
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
void coldfire_tick(void); void coldfire_tick(void);
void coldfire_timer_init(irq_handler_t handler); void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void); unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void); void coldfire_reset(void);
extern unsigned int mcf_timervector; extern unsigned int mcf_timervector;
...@@ -112,7 +111,6 @@ void config_BSP(char *commandp, int size) ...@@ -112,7 +111,6 @@ void config_BSP(char *commandp, int size)
mach_sched_init = coldfire_timer_init; mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick; mach_tick = coldfire_tick;
mach_gettimeoffset = coldfire_timer_offset; mach_gettimeoffset = coldfire_timer_offset;
mach_trap_init = coldfire_trap_init;
mach_reset = coldfire_reset; mach_reset = coldfire_reset;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment