From: Andy P. <at...@us...> - 2001-08-20 21:34:51
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax In directory usw-pr-cvs1:/tmp/cvs-serv25267 Modified Files: processor.h irq.h Log Message: pgalloc pmd_alloc_kernel and free now in pgalloc.c irq.h change call proto for register_excep_handler processor.h eliminate fixme and change pages allocated for task Index: processor.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/processor.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- processor.h 2001/07/31 17:33:26 1.9 +++ processor.h 2001/08/20 21:34:48 1.10 @@ -1,6 +1,14 @@ #ifndef _VAX_PROCESSOR_H #define _VAX_PROCESSOR_H +/* Copyright atp 1998-2001. + * kenn 1999-2001. + * + * processor.h for vax architecture. + * + * Aug 2001. atp fix size of task structure allocation + remove fixme comment + */ + #include <asm/pcb.h> /* process control block definition */ #include <asm/page.h> @@ -68,10 +76,6 @@ #define THREAD_SIZE (8192) - - - - /* * Do necessary setup to start up a newly executed thread. */ @@ -131,10 +135,9 @@ machines. See arch/i386/kernel/process.c for the implementation of this. */ -/* FIXME: change the page order from 4 to 1 once the pagelet stuff is done */ #define alloc_task_struct() \ - ((struct task_struct *) __get_free_pages(GFP_KERNEL,4)) -#define free_task_struct(p) free_pages((unsigned long)(p),4) + ((struct task_struct *) __get_free_pages(GFP_KERNEL,1)) +#define free_task_struct(p) free_pages((unsigned long)(p),1) #define get_task_struct(tsk) atomic_inc(&virt_to_page(tsk)->count) #define init_task (init_task_union.task) Index: irq.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/irq.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- irq.h 2001/07/31 17:33:26 1.3 +++ irq.h 2001/08/20 21:34:48 1.4 @@ -47,6 +47,7 @@ /* This function registers the handler for an exception. */ int register_excep_handler(unsigned int vec_num, + char *exception_name, void (*handler)(struct pt_regs *, void *), unsigned int excep_info_size, unsigned int use_interrupt_stack); |