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


Groups > linux.kernel > #1564293

[PATCH v2 4/4] ARM: nommu: remove Hivecs configuration is asm

From afzal mohammed <afzal.mohd.ma@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 4/4] ARM: nommu: remove Hivecs configuration is asm
Date 2017-01-22 04:30 +0100
Message-ID <t2h0S-3PH-11@gated-at.bofh.it> (permalink)
References <t2gRc-3Mg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Now that exception based address is handled dynamically for
processors with CP15, remove Hivecs configuration in assembly.

Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
---
 arch/arm/kernel/head-nommu.S | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S
index 6b4eb27b8758..2e21e08de747 100644
--- a/arch/arm/kernel/head-nommu.S
+++ b/arch/arm/kernel/head-nommu.S
@@ -152,11 +152,6 @@ __after_proc_init:
 #ifdef CONFIG_CPU_ICACHE_DISABLE
 	bic	r0, r0, #CR_I
 #endif
-#ifdef CONFIG_CPU_HIGH_VECTOR
-	orr	r0, r0, #CR_V
-#else
-	bic	r0, r0, #CR_V
-#endif
 	mcr	p15, 0, r0, c1, c0, 0		@ write control reg
 #elif defined (CONFIG_CPU_V7M)
 	/* For V7M systems we want to modify the CCR similarly to the SCTLR */
-- 
2.11.0

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


Thread

[PATCH v2 0/4] ARM: v7-A !MMU support, prepare CONFIG_VECTORS_BASE removal afzal mohammed <afzal.mohd.ma@gmail.com> - 2017-01-22 04:20 +0100
  [PATCH v2 3/4] ARM: nommu: display vectors base afzal mohammed <afzal.mohd.ma@gmail.com> - 2017-01-22 04:30 +0100
    Re: [PATCH v2 3/4] ARM: nommu: display vectors base Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-30 15:20 +0100
  [PATCH v2 2/4] ARM: nommu: dynamic exception base address setting afzal mohammed <afzal.mohd.ma@gmail.com> - 2017-01-22 04:30 +0100
  [PATCH v2 4/4] ARM: nommu: remove Hivecs configuration is asm afzal mohammed <afzal.mohd.ma@gmail.com> - 2017-01-22 04:30 +0100
  [PATCH v2 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig afzal mohammed <afzal.mohd.ma@gmail.com> - 2017-01-22 04:30 +0100
  Re: [PATCH v2 0/4] ARM: v7-A !MMU support, prepare  CONFIG_VECTORS_BASE removal Vladimir Murzin <vladimir.murzin@arm.com> - 2017-01-25 12:30 +0100

csiph-web