x86/boot: Cleanup header.S by removing some #ifdefs
authorMatt Fleming <matt.fleming@intel.com>
Thu, 1 Aug 2013 12:33:26 +0000 (13:33 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 21:23:34 +0000 (21:23 +0000)
handover_offset is now filled out by build.c. Don't set a default value
as it will be overwritten anyway.

Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/header.S

index ec3b8ba68096c5434d523c1182196f6ab42f8239..d69d96653325818ff8f37ca18360b96c7b3b6703 100644 (file)
@@ -426,13 +426,7 @@ pref_address:              .quad LOAD_PHYSICAL_ADDR        # preferred load addr
 #define INIT_SIZE VO_INIT_SIZE
 #endif
 init_size:             .long INIT_SIZE         # kernel initialization size
-handover_offset:
-#ifdef CONFIG_EFI_STUB
-                       .long 0x30              # offset to the handover
-                                               # protocol entry point
-#else
-                       .long 0
-#endif
+handover_offset:       .long 0                 # Filled in by build.c
 
 # End of setup header #####################################################