summaryrefslogtreecommitdiff
path: root/kexec/kexec-elf-boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/kexec-elf-boot.c')
-rw-r--r--kexec/kexec-elf-boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec-elf-boot.c b/kexec/kexec-elf-boot.c
index f082f8b..38f9056 100644
--- a/kexec/kexec-elf-boot.c
+++ b/kexec/kexec-elf-boot.c
@@ -31,7 +31,7 @@
#include "kexec-elf-boot.h"
-#define UPSZ(X) ((sizeof(X) + 3) &~3)
+#define UPSZ(X) _ALIGN_UP(sizeof(X), 4)
static struct boot_notes {
Elf_Bhdr hdr;