Skip to content

Commit

Permalink
UML: Drop private round_down definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Kiszka authored and Jiri Kosina committed Apr 20, 2010
1 parent 5156d01 commit 814f75e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/um/sys-x86_64/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 814f75e

Please sign in to comment.