diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-05 08:59:37 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-05 08:59:37 -0400 |
commit | bfd4bda097f8758d28e632ff2035e25577f6b060 (patch) | |
tree | 022276b3625a432c7132e39776e7e448445087ac /include/asm-sparc64 | |
parent | 488f2eaca1b0831a5a5e6a66e33bad2cdeff7238 (diff) | |
parent | b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/parport.h | 6 | ||||
-rw-r--r-- | include/asm-sparc64/signal.h | 16 |
2 files changed, 7 insertions, 15 deletions
diff --git a/include/asm-sparc64/parport.h b/include/asm-sparc64/parport.h index ab88349ddadc..b7e635544cec 100644 --- a/include/asm-sparc64/parport.h +++ b/include/asm-sparc64/parport.h | |||
@@ -13,6 +13,12 @@ | |||
13 | 13 | ||
14 | #define PARPORT_PC_MAX_PORTS PARPORT_MAX | 14 | #define PARPORT_PC_MAX_PORTS PARPORT_MAX |
15 | 15 | ||
16 | /* | ||
17 | * While sparc64 doesn't have an ISA DMA API, we provide something that looks | ||
18 | * close enough to make parport_pc happy | ||
19 | */ | ||
20 | #define HAS_DMA | ||
21 | |||
16 | static struct sparc_ebus_info { | 22 | static struct sparc_ebus_info { |
17 | struct ebus_dma_info info; | 23 | struct ebus_dma_info info; |
18 | unsigned int addr; | 24 | unsigned int addr; |
diff --git a/include/asm-sparc64/signal.h b/include/asm-sparc64/signal.h index 466d021d7038..becdf1bc5924 100644 --- a/include/asm-sparc64/signal.h +++ b/include/asm-sparc64/signal.h | |||
@@ -177,21 +177,7 @@ struct sigstack { | |||
177 | #define SA_STATIC_ALLOC 0x80 | 177 | #define SA_STATIC_ALLOC 0x80 |
178 | #endif | 178 | #endif |
179 | 179 | ||
180 | /* Type of a signal handler. */ | 180 | #include <asm-generic/signal.h> |
181 | #ifdef __KERNEL__ | ||
182 | typedef void __signalfn_t(int); | ||
183 | typedef __signalfn_t __user *__sighandler_t; | ||
184 | |||
185 | typedef void __restorefn_t(void); | ||
186 | typedef __restorefn_t __user *__sigrestore_t; | ||
187 | #else | ||
188 | typedef void (*__sighandler_t)(int); | ||
189 | typedef void (*__sigrestore_t)(void); | ||
190 | #endif | ||
191 | |||
192 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
193 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
194 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
195 | 181 | ||
196 | struct __new_sigaction { | 182 | struct __new_sigaction { |
197 | __sighandler_t sa_handler; | 183 | __sighandler_t sa_handler; |