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 af8a1df..f913cc3 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)
OpenPOWER on IntegriCloud