diff options
Diffstat (limited to 'arch/um/include/asm/pda.h')
| -rw-r--r-- | arch/um/include/asm/pda.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/um/include/asm/pda.h b/arch/um/include/asm/pda.h new file mode 100644 index 00000000000..ddcd774fc2a --- /dev/null +++ b/arch/um/include/asm/pda.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2003 PathScale, Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifndef __UM_PDA_X86_64_H | ||
| 8 | #define __UM_PDA_X86_64_H | ||
| 9 | |||
| 10 | /* XXX */ | ||
| 11 | struct foo { | ||
| 12 | unsigned int __softirq_pending; | ||
| 13 | unsigned int __nmi_count; | ||
| 14 | }; | ||
| 15 | |||
| 16 | extern struct foo me; | ||
| 17 | |||
| 18 | #define read_pda(me) (&me) | ||
| 19 | |||
| 20 | #endif | ||
| 21 | |||
