Commit a06cc94f authored by Cao jin's avatar Cao jin Committed by Ingo Molnar

x86/build: Drop superfluous ALIGN from the linker script

ALIGN(8) is superfluous since macro TEXT_TEXT already has one.

bonus cleanups:

  - indentation fix
  - spaces -> tab.
Signed-off-by: default avatarCao jin <caoj.fnst@cn.fujitsu.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180208063857.15197-1-caoj.fnst@cn.fujitsu.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 178e834c
...@@ -102,7 +102,6 @@ SECTIONS ...@@ -102,7 +102,6 @@ SECTIONS
_stext = .; _stext = .;
/* bootstrapping code */ /* bootstrapping code */
HEAD_TEXT HEAD_TEXT
. = ALIGN(8);
TEXT_TEXT TEXT_TEXT
SCHED_TEXT SCHED_TEXT
CPUIDLE_TEXT CPUIDLE_TEXT
...@@ -198,7 +197,7 @@ SECTIONS ...@@ -198,7 +197,7 @@ SECTIONS
. = __vvar_beginning_hack + PAGE_SIZE; . = __vvar_beginning_hack + PAGE_SIZE;
} :data } :data
. = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE);
/* Init code and data - will be freed after init */ /* Init code and data - will be freed after init */
. = ALIGN(PAGE_SIZE); . = ALIGN(PAGE_SIZE);
...@@ -366,8 +365,8 @@ SECTIONS ...@@ -366,8 +365,8 @@ SECTIONS
. = ALIGN(PAGE_SIZE); /* keep VO_INIT_SIZE page aligned */ . = ALIGN(PAGE_SIZE); /* keep VO_INIT_SIZE page aligned */
_end = .; _end = .;
STABS_DEBUG STABS_DEBUG
DWARF_DEBUG DWARF_DEBUG
/* Sections to be discarded */ /* Sections to be discarded */
DISCARDS DISCARDS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment