From 95db6b748fc86297827fbd9c9ef174d491c9ad89 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 16 Feb 2000 01:07:24 +0000 Subject: Merge with Linux 2.3.40. --- include/asm-sparc/processor.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/asm-sparc/processor.h') diff --git a/include/asm-sparc/processor.h b/include/asm-sparc/processor.h index 8505ce5d4..a74493500 100644 --- a/include/asm-sparc/processor.h +++ b/include/asm-sparc/processor.h @@ -1,4 +1,4 @@ -/* $Id: processor.h,v 1.75 2000/01/07 20:21:42 davem Exp $ +/* $Id: processor.h,v 1.76 2000/01/09 09:13:38 anton Exp $ * include/asm-sparc/processor.h * * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu) @@ -22,6 +22,7 @@ #include #include #include +#include /* * Bus types @@ -88,6 +89,7 @@ struct thread_struct { mm_segment_t current_ds; struct exec core_exec; /* just what it says. */ int new_signal; + atomic_t refcount; /* used for sun4c only */ }; #define SPARC_FLAG_KTHREAD 0x1 /* task is a kernel thread */ @@ -201,11 +203,11 @@ extern struct task_struct *last_task_used_math; /* Allocation and freeing of basic task resources. */ BTFIXUPDEF_CALL(struct task_struct *, alloc_task_struct, void) BTFIXUPDEF_CALL(void, free_task_struct, struct task_struct *) +BTFIXUPDEF_CALL(void, get_task_struct, struct task_struct *) #define alloc_task_struct() BTFIXUP_CALL(alloc_task_struct)() #define free_task_struct(tsk) BTFIXUP_CALL(free_task_struct)(tsk) - -/* XXX Anton, here is where you implement get_task_struct et al. */ +#define get_task_struct(tsk) BTFIXUP_CALL(get_task_struct)(tsk) #define init_task (init_task_union.task) #define init_stack (init_task_union.stack) -- cgit v1.2.3