Skip to content
Snippets Groups Projects
Commit ed0a2fbf authored by Simon Glass's avatar Simon Glass
Browse files

x86: Add a definition of asmlinkage


This is needed to permit calling C from assembler without too much pain.
Add a definition for x86.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 1ccd452b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment