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


Groups > linux.kernel > #1724570

[PATCH 3/8] x86/head: Remove unused 'bad_address' code

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 3/8] x86/head: Remove unused 'bad_address' code
Date 2017-08-31 22:30 +0200
Message-ID <ukEga-217-27@gated-at.bofh.it> (permalink)
References <ukEg9-217-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


It's no longer possible for this code to be executed, so remove it.

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

diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index 3b04e4c99389..afb0a1e22d41 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -265,9 +265,6 @@ ENDPROC(start_cpu0)
 	.quad  init_thread_union + THREAD_SIZE - SIZEOF_PTREGS
 	__FINITDATA
 
-bad_address:
-	jmp bad_address
-
 	__INIT
 ENTRY(early_idt_handler_array)
 	i = 0
-- 
2.13.5

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] x86/asm: Add unwind hint annotations to head code Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 5/8] x86/boot: Annotate verify_cpu() as a callable function Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 1/8] objtool: Don't report end of section error after an empty unwind hint Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 6/8] x86/xen: Fix xen head ELF annotations Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 3/8] x86/head: Remove unused 'bad_address' code Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200

csiph-web