diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-18 22:06:10 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-18 22:06:10 +0000 |
commit | aba4e552a2f2c1492441acbccedd8e0a4c53f916 (patch) | |
tree | 23921efb2b4af590160f034a89ff3da2ecca6e47 /arch/sparc/kernel | |
parent | 9e17e1aa1cf1cb497d2f67147a51831888affcf3 (diff) |
Merge with Linux 2.3.43.
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/head.S | 9 | ||||
-rw-r--r-- | arch/sparc/kernel/ioport.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/irq.c | 8 | ||||
-rw-r--r-- | arch/sparc/kernel/process.c | 5 | ||||
-rw-r--r-- | arch/sparc/kernel/setup.c | 15 | ||||
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/sys_sparc.c | 11 | ||||
-rw-r--r-- | arch/sparc/kernel/sys_sunos.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/systbls.S | 8 | ||||
-rw-r--r-- | arch/sparc/kernel/time.c | 19 |
10 files changed, 13 insertions, 68 deletions
diff --git a/arch/sparc/kernel/head.S b/arch/sparc/kernel/head.S index eb3d007f0..56b3da66a 100644 --- a/arch/sparc/kernel/head.S +++ b/arch/sparc/kernel/head.S @@ -1,4 +1,4 @@ -/* $Id: head.S,v 1.101 1999/12/02 08:34:56 jj Exp $ +/* $Id: head.S,v 1.102 2000/01/29 01:08:54 anton Exp $ * head.S: The initial boot code for the Sparc port of Linux. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) @@ -483,10 +483,8 @@ current_pc: 1: mov %o7, %g3 -#ifndef CONFIG_AP1000 tst %o0 be no_sun4u_here -#endif mov %g4, %o7 /* Previous %o7. */ mov %o0, %l0 ! stash away romvec @@ -762,11 +760,6 @@ go_to_highmem: * I figure out and store nwindows and nwindowsm1 later on. */ execute_in_high_mem: -#if CONFIG_AP1000 - /* we don't have a prom :-( */ - b sun4m_init - nop -#endif mov %l0, %o0 ! put back romvec mov %l1, %o1 ! and debug_vec diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c index c0ffb2675..61a51f103 100644 --- a/arch/sparc/kernel/ioport.c +++ b/arch/sparc/kernel/ioport.c @@ -1,4 +1,4 @@ -/* $Id: ioport.c,v 1.29 2000/01/22 07:35:25 zaitcev Exp $ +/* $Id: ioport.c,v 1.30 2000/01/28 13:41:55 jj Exp $ * ioport.c: Simple io mapping allocator. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) diff --git a/arch/sparc/kernel/irq.c b/arch/sparc/kernel/irq.c index c89d04872..8e8fab320 100644 --- a/arch/sparc/kernel/irq.c +++ b/arch/sparc/kernel/irq.c @@ -1,4 +1,4 @@ -/* $Id: irq.c,v 1.99 1999/12/27 06:08:29 anton Exp $ +/* $Id: irq.c,v 1.100 2000/01/29 01:38:04 anton Exp $ * arch/sparc/kernel/irq.c: Interrupt request handling routines. On the * Sparc the IRQ's are basically 'cast in stone' * and you are supposed to probe the prom's device @@ -739,12 +739,6 @@ void __init init_IRQ(void) sun4d_init_IRQ(); break; - case ap1000: -#if CONFIG_AP1000 - ap_init_IRQ();; - break; -#endif - default: prom_printf("Cannot initialize IRQ's on this Sun machine..."); break; diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c index 420efe1e1..c24d8649c 100644 --- a/arch/sparc/kernel/process.c +++ b/arch/sparc/kernel/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.144 2000/01/21 11:38:39 jj Exp $ +/* $Id: process.c,v 1.145 2000/01/29 01:08:56 anton Exp $ * linux/arch/sparc/kernel/process.c * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) @@ -266,9 +266,6 @@ void show_stackframe(struct sparc_stackf *sf) void show_regs(struct pt_regs * regs) { -#if __MPP__ - printk("CID: %d\n",mpp_cid()); -#endif printk("PSR: %08lx PC: %08lx NPC: %08lx Y: %08lx\n", regs->psr, regs->pc, regs->npc, regs->y); printk("g0: %08lx g1: %08lx g2: %08lx g3: %08lx ", diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c index 60928d7aa..50d682929 100644 --- a/arch/sparc/kernel/setup.c +++ b/arch/sparc/kernel/setup.c @@ -1,4 +1,4 @@ -/* $Id: setup.c,v 1.113 1999/12/16 14:37:35 anton Exp $ +/* $Id: setup.c,v 1.114 2000/01/29 01:08:57 anton Exp $ * linux/arch/sparc/kernel/setup.c * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) @@ -201,11 +201,6 @@ static void __init boot_flags_init(char *commands) prom_printf("KGDB: Using serial line /dev/ttyb.\n"); break; #endif -#ifdef CONFIG_AP1000 - case 'c': - printk("KGDB: AP1000+ debugging\n"); - break; -#endif default: printk("KGDB: Unknown tty line.\n"); break; @@ -326,10 +321,6 @@ void __init setup_arch(char **cmdline_p) prom_halt(); } #endif -#if CONFIG_AP1000 - sparc_cpu_model=ap1000; - strcpy(&cputypval, "ap+"); -#endif printk("ARCH: "); switch(sparc_cpu_model) { case sun4: @@ -350,10 +341,6 @@ void __init setup_arch(char **cmdline_p) case sun4u: printk("SUN4U\n"); break; - case ap1000: - register_console(&prom_console); - printk("AP1000\n"); - break; default: printk("UNKNOWN!\n"); break; diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c index b8cdd3749..8df494f2d 100644 --- a/arch/sparc/kernel/sparc_ksyms.c +++ b/arch/sparc/kernel/sparc_ksyms.c @@ -1,4 +1,4 @@ -/* $Id: sparc_ksyms.c,v 1.87 2000/01/21 17:41:14 anton Exp $ +/* $Id: sparc_ksyms.c,v 1.88 2000/01/28 13:41:55 jj Exp $ * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) diff --git a/arch/sparc/kernel/sys_sparc.c b/arch/sparc/kernel/sys_sparc.c index 4dcb7866a..3815cae1b 100644 --- a/arch/sparc/kernel/sys_sparc.c +++ b/arch/sparc/kernel/sys_sparc.c @@ -1,4 +1,4 @@ -/* $Id: sys_sparc.c,v 1.57 2000/01/21 11:38:42 jj Exp $ +/* $Id: sys_sparc.c,v 1.59 2000/01/29 07:40:10 davem Exp $ * linux/arch/sparc/kernel/sys_sparc.c * * This file contains various random system calls that @@ -383,12 +383,3 @@ done: up_read(&uts_sem); return err; } - - -#ifndef CONFIG_AP1000 -/* only AP+ systems have sys_aplib */ -asmlinkage int sys_aplib(void) -{ - return -ENOSYS; -} -#endif diff --git a/arch/sparc/kernel/sys_sunos.c b/arch/sparc/kernel/sys_sunos.c index 15f38bd5e..bb3a5ad36 100644 --- a/arch/sparc/kernel/sys_sunos.c +++ b/arch/sparc/kernel/sys_sunos.c @@ -1,4 +1,4 @@ -/* $Id: sys_sunos.c,v 1.111 2000/01/22 05:17:55 anton Exp $ +/* $Id: sys_sunos.c,v 1.112 2000/01/29 07:40:11 davem Exp $ * sys_sunos.c: SunOS specific syscall compatibility support. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) diff --git a/arch/sparc/kernel/systbls.S b/arch/sparc/kernel/systbls.S index 47aea979b..174522d03 100644 --- a/arch/sparc/kernel/systbls.S +++ b/arch/sparc/kernel/systbls.S @@ -1,4 +1,4 @@ -/* $Id: systbls.S,v 1.91 2000/01/16 06:20:44 davem Exp $ +/* $Id: systbls.S,v 1.93 2000/01/29 16:41:18 jj Exp $ * systbls.S: System call entry point tables for OS compatibility. * The native Linux system call table lives here also. * @@ -47,7 +47,7 @@ sys_call_table: /*130*/ .long sys_ftruncate, sys_flock, sys_lstat64, sys_nis_syscall, sys_nis_syscall /*135*/ .long sys_nis_syscall, sys_mkdir, sys_rmdir, sys_utimes, sys_stat64 /*140*/ .long sys_nis_syscall, sys_nis_syscall, sys_nis_syscall, sys_nis_syscall, sys_getrlimit -/*145*/ .long sys_setrlimit, sys_nis_syscall, sys_prctl, sys_pciconfig_read, sys_pciconfig_write +/*145*/ .long sys_setrlimit, sys_pivot_root, sys_prctl, sys_pciconfig_read, sys_pciconfig_write /*150*/ .long sys_nis_syscall, sys_nis_syscall, sys_nis_syscall, sys_poll, sys_nis_syscall /*155*/ .long sys_nis_syscall, sys_nis_syscall, sys_statfs, sys_fstatfs, sys_oldumount /*160*/ .long sys_nis_syscall, sys_nis_syscall, sys_getdomainname, sys_setdomainname, sys_nis_syscall @@ -70,7 +70,7 @@ sys_call_table: /*240*/ .long sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler /*245*/ .long sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep /*250*/ .long sys_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nfsservctl -/*255*/ .long sys_aplib, sys_nis_syscall +/*255*/ .long sys_nis_syscall, sys_nis_syscall #ifdef CONFIG_SUNOS_EMUL /* Now the SunOS syscall table. */ @@ -164,6 +164,6 @@ sunos_sys_table: .long sunos_nosys, sunos_nosys, sunos_nosys .long sunos_nosys, sunos_nosys /*250*/ .long sunos_nosys, sunos_nosys, sunos_nosys - .long sunos_nosys, sunos_nosys, sys_aplib + .long sunos_nosys, sunos_nosys, sunos_nosys #endif diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index 295988f58..3e52fef95 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c @@ -1,4 +1,4 @@ -/* $Id: time.c,v 1.50 2000/01/21 04:35:53 anton Exp $ +/* $Id: time.c,v 1.51 2000/01/29 01:08:59 anton Exp $ * linux/arch/sparc/kernel/time.c * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) @@ -353,12 +353,6 @@ void __init sbus_time_init(void) BTFIXUPSET_CALL(bus_do_settimeofday, sbus_do_settimeofday, BTFIXUPCALL_NORM); btfixup(); -#if CONFIG_AP1000 - init_timers(timer_interrupt); - ap_init_time(&xtime); - return; -#endif - if (ARCH_SUN4) sun4_clock_probe(); else @@ -451,14 +445,6 @@ extern __inline__ unsigned long do_gettimeoffset(void) */ void do_gettimeofday(struct timeval *tv) { -#if CONFIG_AP1000 - unsigned long flags; - - save_and_cli(flags); - ap_gettimeofday(&xtime); - *tv = xtime; - restore_flags(flags); -#else /* !(CONFIG_AP1000) */ /* Load doubles must be used on xtime so that what we get * is guarenteed to be atomic, this is why we can run this * with interrupts on full blast. Don't touch this... -DaveM @@ -493,7 +479,6 @@ void do_gettimeofday(struct timeval *tv) sub %o5, %o2, %o5 st %o4, [%o0 + 0x0] 1: st %o5, [%o0 + 0x4]"); -#endif } void do_settimeofday(struct timeval *tv) @@ -505,13 +490,11 @@ void do_settimeofday(struct timeval *tv) static void sbus_do_settimeofday(struct timeval *tv) { -#if !CONFIG_AP1000 tv->tv_usec -= do_gettimeoffset(); if(tv->tv_usec < 0) { tv->tv_usec += 1000000; tv->tv_sec--; } -#endif xtime = *tv; time_adjust = 0; /* stop active adjtime() */ time_status |= STA_UNSYNC; |