]> xenbits.xensource.com Git - seabios.git/commitdiff
romlayout: Use "rep ; nop" not "rep nop".
authorIan Campbell <ian.campbell@citrix.com>
Mon, 30 Jun 2014 13:10:02 +0000 (14:10 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 1 Jul 2014 04:02:54 +0000 (00:02 -0400)
Fixes:
  Compiling (16bit) out/romlayout.o
src/romlayout.S: Assembler messages:
src/romlayout.S:285: Error: expecting string instruction after `rep'
make: *** [out/romlayout.o] Error 1

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
src/romlayout.S

index a931b3235e24aa4cc7962b2ee7c5693d092c38a2..a3ba965eb2cd1fe87bee5388097d2fd5a06f9e25 100644 (file)
@@ -282,7 +282,7 @@ entry_smp:
         jmp transition32
         .code32
         // Acquire lock and take ownership of shared stack
-1:      rep nop
+1:      rep nop
 2:      lock btsl $0, SMPLock
         jc 1b
         movl SMPStack, %esp