]> git.sur5r.net Git - u-boot/blobdiff - include/common.h
ARM: UniPhier: detect the number of flash banks at run-time
[u-boot] / include / common.h
index f1ab2cf5f469a354d1f808212987fa72dc1699a0..94c354b37ce73e50b4a056eb5567dd34a7b0c912 100644 (file)
@@ -73,6 +73,9 @@ typedef volatile unsigned char        vu_char;
 #ifdef CONFIG_ARM
 #define asmlinkage     /* nothing */
 #endif
+#ifdef CONFIG_X86
+#define asmlinkage __attribute__((regparm(0)))
+#endif
 #ifdef CONFIG_BLACKFIN
 #include <asm/blackfin.h>
 #endif