From: Andy P. <at...@us...> - 2001-01-20 13:50:58
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel In directory usw-pr-cvs1:/tmp/cvs-serv4365/arch/vax/kernel Modified Files: Makefile interrupt.c process.c Log Message: minor fixes to byteorder.h. Fix arch Makefiles for new rules.make. sys_idle is no more, cpu_idle is here. Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Makefile 2001/01/17 16:13:57 1.1 --- Makefile 2001/01/20 13:51:05 1.2 *************** *** 11,15 **** O_TARGET := kernel.o ! O_OBJS := process.o setup.o regdump.o interrupt.o entry.o time.o delay.o \ syscall.o \ init_task.o softirq.o reboot.o cpu_generic.o \ --- 11,16 ---- O_TARGET := kernel.o ! ! obj-y := process.o setup.o regdump.o interrupt.o entry.o time.o delay.o \ syscall.o \ init_task.o softirq.o reboot.o cpu_generic.o \ Index: interrupt.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/interrupt.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** interrupt.c 2001/01/17 16:13:57 1.1 --- interrupt.c 2001/01/20 13:51:05 1.2 *************** *** 19,22 **** --- 19,23 ---- #include <asm/scb.h> #include <asm/pgtable.h> + #include <asm/pgalloc.h> #include <asm/hardirq.h> Index: process.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/process.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** process.c 2001/01/17 16:13:57 1.1 --- process.c 2001/01/20 13:51:05 1.2 *************** *** 5,16 **** #include <asm/mtpr.h> ! asmlinkage int sys_idle(void) { ! if (current->pid != 0) return -EPERM; /* endless idle loop with no priority at all */ ! current->priority = 0; ! current->counter = -100; while(1) { --- 5,23 ---- #include <asm/mtpr.h> ! /* sys_idle seems to have been lost as a specific syscall. ! * and replaced by cpu_idle. I'm renaming this cpu_idle. ! */ ! asmlinkage int cpu_idle(void) { ! ! ! if (current->pid != 0) return -EPERM; /* endless idle loop with no priority at all */ ! init_idle(); ! current->nice = 20; ! current->counter = -100; ! while(1) { |