]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - usr/initramfs_data.S
initramfs: Fix initramfs size for 32-bit arches
[~shefty/rdma-dev.git] / usr / initramfs_data.S
index b9efed5e35cc222f3e7b34d922bbc1b90b29987b..792a750d9441af80cd16e4d797234159875babc4 100644 (file)
@@ -30,8 +30,8 @@ __irf_end:
 .section .init.ramfs.info,"a"
 .globl __initramfs_size
 __initramfs_size:
 .section .init.ramfs.info,"a"
 .globl __initramfs_size
 __initramfs_size:
-#ifdef CONFIG_32BIT
-       .long __irf_end - __irf_start
-#else
+#ifdef CONFIG_64BIT
        .quad __irf_end - __irf_start
        .quad __irf_end - __irf_start
+#else
+       .long __irf_end - __irf_start
 #endif
 #endif