patch-2.4.21 linux-2.4.21/include/asm-parisc/processor.h
Next file: linux-2.4.21/include/asm-parisc/rtc.h
Previous file: linux-2.4.21/include/asm-parisc/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-parisc/processor.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/include/asm-parisc/processor.h linux-2.4.21/include/asm-parisc/processor.h
@@ -9,6 +9,7 @@
#define __ASM_PARISC_PROCESSOR_H
#ifndef __ASSEMBLY__
+#include <linux/config.h>
#include <linux/threads.h>
#include <asm/hardware.h>
@@ -17,6 +18,9 @@
#include <asm/ptrace.h>
#include <asm/types.h>
#include <asm/system.h>
+#ifdef CONFIG_SMP
+#include <asm/spinlock_t.h>
+#endif
#endif /* __ASSEMBLY__ */
/*
@@ -71,7 +75,6 @@
*/
struct cpuinfo_parisc {
- struct irq_region *region;
unsigned long it_value; /* Interval Timer value at last timer Intr */
unsigned long it_delta; /* Interval Timer delta (tic_10ms / HZ * 100) */
unsigned long irq_count; /* number of IRQ's since boot */
@@ -289,7 +292,7 @@
/* Free all resources held by a thread. */
extern void release_thread(struct task_struct *);
-extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
+extern int arch_kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
extern void map_hpux_gateway_page(struct task_struct *tsk, struct mm_struct *mm);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)