UML: Drop private round_down definition
authorJan Kiszka <jan.kiszka@web.de>
Mon, 19 Apr 2010 21:53:05 +0000 (23:53 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Apr 2010 14:36:35 +0000 (16:36 +0200)
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>
arch/um/sys-x86_64/signal.c

index 1a899a7ed7a643261e8c6bc25d6bccbf201221a8..07797d10b3dc437abf1a0494b4b18d11163322ab 100644 (file)
@@ -165,8 +165,6 @@ struct rt_sigframe
        struct _fpstate fpstate;
 };
 
-#define round_down(m, n) (((m) / (n)) * (n))
-
 int setup_signal_stack_si(unsigned long stack_top, int sig,
                          struct k_sigaction *ka, struct pt_regs * regs,
                          siginfo_t *info, sigset_t *set)