summaryrefslogtreecommitdiff
path: root/arch/um/sys-x86_64
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-04-19 23:53:05 +0200
committerJiri Kosina <jkosina@suse.cz>2010-04-20 16:36:35 +0200
commit814f75ec5a94a4897fdfd605bf5ed4fa6f459c90 (patch)
treed0d94a2b979904692e2cf8784f3ebd26ca8710e4 /arch/um/sys-x86_64
parent5156d0118bb66f0a296b8059afb061c7ae4fda9d (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')
-rw-r--r--arch/um/sys-x86_64/signal.c2
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
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)