diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-05-20 16:27:44 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-05-20 16:27:44 -0400 |
commit | ad34ea2cc3845ef4dcd7d12fb0fa8484734bd672 (patch) | |
tree | ad434400f5ecaa33b433c8f830e40792d8d6c05c /include/asm-m68k | |
parent | 90356ac3194bf91a441a5f9c3067af386ef62462 (diff) | |
parent | 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff) |
merge by hand - fix up rejections in Documentation/DocBook/Makefile
Diffstat (limited to 'include/asm-m68k')
-rw-r--r-- | include/asm-m68k/bug.h | 3 | ||||
-rw-r--r-- | include/asm-m68k/signal.h | 28 |
2 files changed, 6 insertions, 25 deletions
diff --git a/include/asm-m68k/bug.h b/include/asm-m68k/bug.h index 3e1d2266fa69..072ce274d537 100644 --- a/include/asm-m68k/bug.h +++ b/include/asm-m68k/bug.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/config.h> | 4 | #include <linux/config.h> |
5 | 5 | ||
6 | #ifdef CONFIG_BUG | ||
6 | #ifdef CONFIG_DEBUG_BUGVERBOSE | 7 | #ifdef CONFIG_DEBUG_BUGVERBOSE |
7 | #ifndef CONFIG_SUN3 | 8 | #ifndef CONFIG_SUN3 |
8 | #define BUG() do { \ | 9 | #define BUG() do { \ |
@@ -22,6 +23,8 @@ | |||
22 | #endif | 23 | #endif |
23 | 24 | ||
24 | #define HAVE_ARCH_BUG | 25 | #define HAVE_ARCH_BUG |
26 | #endif | ||
27 | |||
25 | #include <asm-generic/bug.h> | 28 | #include <asm-generic/bug.h> |
26 | 29 | ||
27 | #endif | 30 | #endif |
diff --git a/include/asm-m68k/signal.h b/include/asm-m68k/signal.h index 6681bb6a5523..a0cdf9082372 100644 --- a/include/asm-m68k/signal.h +++ b/include/asm-m68k/signal.h | |||
@@ -105,42 +105,20 @@ typedef unsigned long sigset_t; | |||
105 | #define MINSIGSTKSZ 2048 | 105 | #define MINSIGSTKSZ 2048 |
106 | #define SIGSTKSZ 8192 | 106 | #define SIGSTKSZ 8192 |
107 | 107 | ||
108 | #ifdef __KERNEL__ | 108 | #include <asm-generic/signal.h> |
109 | /* | ||
110 | * These values of sa_flags are used only by the kernel as part of the | ||
111 | * irq handling routines. | ||
112 | * | ||
113 | * SA_INTERRUPT is also used by the irq handling routines. | ||
114 | * SA_SHIRQ is for shared interrupt support on PCI and EISA. | ||
115 | */ | ||
116 | #define SA_PROBE SA_ONESHOT | ||
117 | #define SA_SAMPLE_RANDOM SA_RESTART | ||
118 | #define SA_SHIRQ 0x04000000 | ||
119 | #endif | ||
120 | |||
121 | #define SIG_BLOCK 0 /* for blocking signals */ | ||
122 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
123 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
124 | |||
125 | /* Type of a signal handler. */ | ||
126 | typedef void (*__sighandler_t)(int); | ||
127 | |||
128 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
129 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
130 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
131 | 109 | ||
132 | #ifdef __KERNEL__ | 110 | #ifdef __KERNEL__ |
133 | struct old_sigaction { | 111 | struct old_sigaction { |
134 | __sighandler_t sa_handler; | 112 | __sighandler_t sa_handler; |
135 | old_sigset_t sa_mask; | 113 | old_sigset_t sa_mask; |
136 | unsigned long sa_flags; | 114 | unsigned long sa_flags; |
137 | void (*sa_restorer)(void); | 115 | __sigrestore_t sa_restorer; |
138 | }; | 116 | }; |
139 | 117 | ||
140 | struct sigaction { | 118 | struct sigaction { |
141 | __sighandler_t sa_handler; | 119 | __sighandler_t sa_handler; |
142 | unsigned long sa_flags; | 120 | unsigned long sa_flags; |
143 | void (*sa_restorer)(void); | 121 | __sigrestore_t sa_restorer; |
144 | sigset_t sa_mask; /* mask last for extensibility */ | 122 | sigset_t sa_mask; /* mask last for extensibility */ |
145 | }; | 123 | }; |
146 | 124 | ||