Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29651
b: refs/heads/master
c: 35353bb
h: refs/heads/master
i:
  29649: 5b6f056
  29647: bd7b6b7
v: v3
  • Loading branch information
Roman Zippel authored and Linus Torvalds committed Jun 25, 2006
1 parent e213570 commit 5f7e46a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 195 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: 734085651c9b80aa3f9e6027b156102de214a0b2
refs/heads/master: 35353bb8b869f3a0a153d0674cdafbe4f64aaa05
2 changes: 1 addition & 1 deletion trunk/arch/m68k/hp300/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Makefile for Linux arch/m68k/hp300 source directory
#

obj-y := ksyms.o config.o ints.o time.o reboot.o
obj-y := ksyms.o config.o time.o reboot.o
11 changes: 4 additions & 7 deletions trunk/arch/m68k/hp300/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <asm/hp300hw.h>
#include <asm/rtc.h>

#include "ints.h"
#include "time.h"

unsigned long hp300_model;
Expand Down Expand Up @@ -64,8 +63,6 @@ static char *hp300_models[] __initdata = {
static char hp300_model_name[13] = "HP9000/";

extern void hp300_reset(void);
extern irqreturn_t (*hp300_default_handler[])(int, void *, struct pt_regs *);
extern int show_hp300_interrupts(struct seq_file *, void *);
#ifdef CONFIG_SERIAL_8250_CONSOLE
extern int hp300_setup_serial_console(void) __init;
#endif
Expand Down Expand Up @@ -245,16 +242,16 @@ static unsigned int hp300_get_ss(void)
hp300_rtc_read(RTC_REG_SEC2);
}

static void __init hp300_init_IRQ(void)
{
}

void __init config_hp300(void)
{
mach_sched_init = hp300_sched_init;
mach_init_IRQ = hp300_init_IRQ;
mach_request_irq = hp300_request_irq;
mach_free_irq = hp300_free_irq;
mach_get_model = hp300_get_model;
mach_get_irq_list = show_hp300_interrupts;
mach_gettimeoffset = hp300_gettimeoffset;
mach_default_handler = &hp300_default_handler;
mach_hwclk = hp300_hwclk;
mach_get_ss = hp300_get_ss;
mach_reset = hp300_reset;
Expand Down
175 changes: 0 additions & 175 deletions trunk/arch/m68k/hp300/ints.c

This file was deleted.

9 changes: 0 additions & 9 deletions trunk/arch/m68k/hp300/ints.h

This file was deleted.

3 changes: 1 addition & 2 deletions trunk/arch/m68k/hp300/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <asm/system.h>
#include <asm/traps.h>
#include <asm/blinken.h>
#include "ints.h"

/* Clock hardware definitions */

Expand Down Expand Up @@ -71,7 +70,7 @@ void __init hp300_sched_init(irqreturn_t (*vector)(int, void *, struct pt_regs *

asm volatile(" movpw %0,%1@(5)" : : "d" (INTVAL), "a" (CLOCKBASE));

cpu_request_irq(6, hp300_tick, IRQ_FLG_STD, "timer tick", vector);
request_irq(IRQ_AUTO_6, hp300_tick, IRQ_FLG_STD, "timer tick", vector);

out_8(CLOCKBASE + CLKCR2, 0x1); /* select CR1 */
out_8(CLOCKBASE + CLKCR1, 0x40); /* enable irq */
Expand Down

0 comments on commit 5f7e46a

Please sign in to comment.