arch/ppc64: Replace custom MIN macro
PATCH 1/1 arch/ppc64: Replace custom MIN macro
This patch is from Tobias Klauser.
Replace a custom MIN() macro with the min() macro from kernel.h This patch removes 4 lines of redundant code.
Signed-off-by Tobias Klauser <[email protected]>
Signed-off-by Paul Mackerras <[email protected]>
---
arch/ppc64/kernel/signal.c +1 -5
@@ -42,11 +42,7 @@#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) -#ifndef MIN -#define MIN (a,b) (((a) < (b)) ? (a) : (b)) -#endif - -#define GP_REGS_SIZE MIN(sizeof(elf_gregset_t), sizeof(struct pt_regs)) +#define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs))#define FP_REGS_SIZE sizeof(elf_fpregset_t)#define TRAMP_TRACEBACK 3