]>
Commit | Line | Data |
---|---|---|
5d9690ea KT |
1 | diff -urN linux.orig/include/asm-ppc/atomic.h linux/include/asm-ppc/atomic.h |
2 | --- linux.orig/include/asm-ppc/atomic.h Sun Mar 25 18:31:08 2001 | |
3 | +++ linux/include/asm-ppc/atomic.h Sun Apr 7 20:38:11 2002 | |
4 | @@ -6,6 +6,9 @@ | |
5 | #define _ASM_PPC_ATOMIC_H_ | |
6 | ||
7 | #ifdef __SMP__ | |
8 | + | |
9 | +#include <asm/smp.h> | |
10 | + | |
11 | typedef struct { volatile int counter; } atomic_t; | |
12 | #else | |
13 | typedef struct { int counter; } atomic_t; | |
14 | diff -urN linux.orig/include/asm-ppc/hardirq.h linux/include/asm-ppc/hardirq.h | |
15 | --- linux.orig/include/asm-ppc/hardirq.h Sun Mar 25 18:31:09 2001 | |
16 | +++ linux/include/asm-ppc/hardirq.h Sun Apr 7 20:38:49 2002 | |
17 | @@ -1,6 +1,8 @@ | |
18 | #ifndef __ASM_HARDIRQ_H | |
19 | #define __ASM_HARDIRQ_H | |
20 | ||
21 | +#include <linux/tasks.h> | |
22 | + | |
23 | extern unsigned int ppc_local_irq_count[NR_CPUS]; | |
24 | ||
25 | /* |