summaryrefslogtreecommitdiff
path: root/src/arch/x86/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/boot.c')
-rw-r--r--src/arch/x86/boot.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/x86/boot.c b/src/arch/x86/boot.c
index ba78c4e308..b9e6ee930f 100644
--- a/src/arch/x86/boot.c
+++ b/src/arch/x86/boot.c
@@ -24,13 +24,13 @@ static void jmp_payload_no_bounce_buffer(void *entry)
{
/* Jump to kernel */
__asm__ __volatile__(
- " cld \n\t"
+ " cld\n\t"
/* Now jump to the loaded image */
" call *%0\n\t"
/* The loaded image returned? */
- " cli \n\t"
- " cld \n\t"
+ " cli\n\t"
+ " cld\n\t"
::
"r" (entry)
@@ -51,7 +51,7 @@ static void jmp_payload(void *entry, unsigned long buffer, unsigned long size)
/* Jump to kernel */
__asm__ __volatile__(
- " cld \n\t"
+ " cld\n\t"
#ifdef __x86_64__
/* switch back to 32-bit mode */
" push %4\n\t"
@@ -138,7 +138,7 @@ static void jmp_payload(void *entry, unsigned long buffer, unsigned long size)
" movl $1f, %%eax\n\t"
" addl 20(%%esp), %%eax\n\t"
" jmp *%%eax\n\t"
- "1: \n\t"
+ "1:\n\t"
/* Copy the coreboot bounce buffer over coreboot */
/* Move ``longs'' the coreboot size is 4 byte aligned */
@@ -154,8 +154,8 @@ static void jmp_payload(void *entry, unsigned long buffer, unsigned long size)
" call *4(%%esp)\n\t"
/* The loaded image returned? */
- " cli \n\t"
- " cld \n\t"
+ " cli\n\t"
+ " cld\n\t"
/* Copy the saved copy of coreboot where coreboot runs */
/* Move ``longs'' the coreboot size is 4 byte aligned */
@@ -173,7 +173,7 @@ static void jmp_payload(void *entry, unsigned long buffer, unsigned long size)
" movl $1f, %%eax\n\t"
" subl 20(%%esp), %%eax\n\t"
" jmp *%%eax\n\t"
- "1: \n\t"
+ "1:\n\t"
/* Drop the parameters I was passed */
" addl $24, %%esp\n\t"