aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-04-19 17:53:05 -0400
committerJiri Kosina <jkosina@suse.cz>2010-04-20 10:36:35 -0400
commit814f75ec5a94a4897fdfd605bf5ed4fa6f459c90 (patch)
treed0d94a2b979904692e2cf8784f3ebd26ca8710e4 /arch
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')
-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
165 struct _fpstate fpstate; 165 struct _fpstate fpstate;
166}; 166};
167 167
168#define round_down(m, n) (((m) / (n)) * (n))
169
170int setup_signal_stack_si(unsigned long stack_top, int sig, 168int 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)