Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465288 > unrolled thread

[PATCH v4 13/57] x86/head: remove useless zeroed word

Started byJosh Poimboeuf <jpoimboe@redhat.com>
First post2016-08-18 15:20 +0200
Last post2016-08-18 15:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 13/57] x86/head: remove useless zeroed word Josh Poimboeuf <jpoimboe@redhat.com> - 2016-08-18 15:20 +0200

#1465288 — [PATCH v4 13/57] x86/head: remove useless zeroed word

FromJosh Poimboeuf <jpoimboe@redhat.com>
Date2016-08-18 15:20 +0200
Subject[PATCH v4 13/57] x86/head: remove useless zeroed word
Message-ID<s7voL-ho-65@gated-at.bofh.it>
This zeroed word has no apparent purpose, so remove it.

Brian Gerst says:

  "FYI the word used to be the SS segment selector for the LSS
  instruction, which isn't needed in 64-bit mode."

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
---
 arch/x86/kernel/head_64.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index a212310..3621ad2 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -328,7 +328,6 @@ ENDPROC(start_cpu0)
 	.quad	INIT_PER_CPU_VAR(irq_stack_union)
 	GLOBAL(initial_stack)
 	.quad  init_thread_union+THREAD_SIZE-8
-	.word  0
 	__FINITDATA
 
 bad_address:
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web