diff options
Diffstat (limited to 'arch/x86/kernel/acpi/realmode/wakeup.lds.S')
-rw-r--r-- | arch/x86/kernel/acpi/realmode/wakeup.lds.S | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/kernel/acpi/realmode/wakeup.lds.S b/arch/x86/kernel/acpi/realmode/wakeup.lds.S index 0e50e1e5c573..060fff8f5c5b 100644 --- a/arch/x86/kernel/acpi/realmode/wakeup.lds.S +++ b/arch/x86/kernel/acpi/realmode/wakeup.lds.S @@ -56,6 +56,9 @@ SECTIONS /DISCARD/ : { *(.note*) } -} -ASSERT(_end <= WAKEUP_SIZE, "Wakeup too big!"); + /* + * The ASSERT() sink to . is intentional, for binutils 2.14 compatibility: + */ + . = ASSERT(_end <= WAKEUP_SIZE, "Wakeup too big!"); +} |