VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Geert Uytterhoeven <geert@linux-m68k.org> 2010-10-31 10:56:23 +0100 committer: Linus Torvalds <torvalds@linux-foundation.org> 2010-10-31 06:35:14 -0700 commit: 96f935934591b72f5b05fd6923bc8cdcae92f2e5 parent: 3985c7ce85039adacdf882904ca096f091d39346
Commit Summary:
initramfs: Fix initramfs size for 32-bit arches
Diffstat:
1 file changed, 3 insertions, 3 deletions
diff --git a/usr/initramfs_data.S b/usr/initramfs_data.S
index b9efed5e35cc..792a750d9441 100644
--- a/usr/initramfs_data.S
+++ b/usr/initramfs_data.S
@@ -30,8 +30,8 @@ __irf_end:
 .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
+#else
+	.long __irf_end - __irf_start
 #endif