Skip to content

Commit a06cc94

Browse files
Cao jinIngo Molnar
authored andcommitted
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: Cao jin <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 178e834 commit a06cc94

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

arch/x86/kernel/vmlinux.lds.S

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ SECTIONS
102102
_stext = .;
103103
/* bootstrapping code */
104104
HEAD_TEXT
105-
. = ALIGN(8);
106105
TEXT_TEXT
107106
SCHED_TEXT
108107
CPUIDLE_TEXT
@@ -198,7 +197,7 @@ SECTIONS
198197
. = __vvar_beginning_hack + PAGE_SIZE;
199198
} :data
200199

201-
. = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE);
200+
. = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE);
202201

203202
/* Init code and data - will be freed after init */
204203
. = ALIGN(PAGE_SIZE);
@@ -366,8 +365,8 @@ SECTIONS
366365
. = ALIGN(PAGE_SIZE); /* keep VO_INIT_SIZE page aligned */
367366
_end = .;
368367

369-
STABS_DEBUG
370-
DWARF_DEBUG
368+
STABS_DEBUG
369+
DWARF_DEBUG
371370

372371
/* Sections to be discarded */
373372
DISCARDS

0 commit comments

Comments
 (0)