summaryrefslogtreecommitdiffstats
path: root/include/linux/a.out.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/a.out.h')
-rw-r--r--include/linux/a.out.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/a.out.h b/include/linux/a.out.h
index af8a1dfa5c3..f913cc3e1b0 100644
--- a/include/linux/a.out.h
+++ b/include/linux/a.out.h
@@ -138,7 +138,7 @@ enum machine_type {
#endif
#endif
-#define _N_SEGMENT_ROUND(x) (((x) + SEGMENT_SIZE - 1) & ~(SEGMENT_SIZE - 1))
+#define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE)
#define _N_TXTENDADDR(x) (N_TXTADDR(x)+(x).a_text)