Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62488
b: refs/heads/master
c: 92417df
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jul 22, 2007
1 parent 331cd77 commit ce5e638
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dec2e6b7aa5d45bc3508e19907a7716b0c5307e5
refs/heads/master: 92417df076f75738ae22956f7ea1b9b98f59fa7a
8 changes: 7 additions & 1 deletion trunk/arch/x86_64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/

.text
.section .bootstrap.text
.section .text.head
.code64
.globl startup_64
startup_64:
Expand Down Expand Up @@ -243,10 +243,16 @@ ENTRY(secondary_startup_64)
lretq

/* SMP bootup changes these two */
#ifndef CONFIG_HOTPLUG_CPU
.pushsection .init.data
#endif
.align 8
.globl initial_code
initial_code:
.quad x86_64_start_kernel
#ifndef CONFIG_HOTPLUG_CPU
.popsection
#endif
.globl init_rsp
init_rsp:
.quad init_thread_union+THREAD_SIZE-8
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SECTIONS
_text = .; /* Text and read-only data */
.text : AT(ADDR(.text) - LOAD_OFFSET) {
/* First the code that has to be first for bootstrapping */
*(.bootstrap.text)
*(.text.head)
_stext = .;
/* Then the rest */
TEXT_TEXT
Expand Down

0 comments on commit ce5e638

Please sign in to comment.