diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-04-19 17:53:05 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-04-20 10:36:35 -0400 |
commit | 814f75ec5a94a4897fdfd605bf5ed4fa6f459c90 (patch) | |
tree | d0d94a2b979904692e2cf8784f3ebd26ca8710e4 /arch/um/sys-x86_64/signal.c | |
parent | 5156d0118bb66f0a296b8059afb061c7ae4fda9d (diff) |
UML: Drop private round_down definition
Already defined in kernel.h. The official version assumes that 'n' is
power of two - which it is in our case.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/um/sys-x86_64/signal.c')
-rw-r--r-- | arch/um/sys-x86_64/signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/sys-x86_64/signal.c b/arch/um/sys-x86_64/signal.c index 1a899a7ed7a6..07797d10b3dc 100644 --- a/arch/um/sys-x86_64/signal.c +++ b/arch/um/sys-x86_64/signal.c | |||
@@ -165,8 +165,6 @@ struct rt_sigframe | |||
165 | struct _fpstate fpstate; | 165 | struct _fpstate fpstate; |
166 | }; | 166 | }; |
167 | 167 | ||
168 | #define round_down(m, n) (((m) / (n)) * (n)) | ||
169 | |||
170 | int setup_signal_stack_si(unsigned long stack_top, int sig, | 168 | int setup_signal_stack_si(unsigned long stack_top, int sig, |
171 | struct k_sigaction *ka, struct pt_regs * regs, | 169 | struct k_sigaction *ka, struct pt_regs * regs, |
172 | siginfo_t *info, sigset_t *set) | 170 | siginfo_t *info, sigset_t *set) |