nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch

0dc71c
From 5bda44d7f98c36f87144869ec58b518f80a69b56 Mon Sep 17 00:00:00 2001
0dc71c
From: Vladimir Serbinenko <phcoder@gmail.com>
0dc71c
Date: Wed, 25 Dec 2013 23:31:42 +0100
0dc71c
Subject: [PATCH 002/143] 	* grub-core/kern/arm/cache_armv6.S: Remove
0dc71c
 .arch directive.
0dc71c
0dc71c
	As these functions are used on pre-ARMv6 CPUs as well we don't want
0dc71c
	to make assembler assume that architecture is higher than default one.
0dc71c
---
0dc71c
 ChangeLog                        | 7 +++++++
0dc71c
 grub-core/kern/arm/cache_armv6.S | 1 -
0dc71c
 2 files changed, 7 insertions(+), 1 deletion(-)
0dc71c
0dc71c
diff --git a/ChangeLog b/ChangeLog
0dc71c
index 21ec1c7..153bc43 100644
0dc71c
--- a/ChangeLog
0dc71c
+++ b/ChangeLog
0dc71c
@@ -1,3 +1,10 @@
0dc71c
+2013-12-25  Vladimir Serbinenko  <phcoder@gmail.com>
0dc71c
+
0dc71c
+	* grub-core/kern/arm/cache_armv6.S: Remove .arch directive.
0dc71c
+
0dc71c
+	As these functions are used on pre-ARMv6 CPUs as well we don't want
0dc71c
+	to make assembler assume that architecture is higher than default one.
0dc71c
+
0dc71c
 2013-12-25  Andrey Borzenkov <arvidjaar@gmail.com>
0dc71c
 
0dc71c
 	* grub-core/osdep/windows/platform.c (get_platform): Fix EFI
0dc71c
diff --git a/grub-core/kern/arm/cache_armv6.S b/grub-core/kern/arm/cache_armv6.S
0dc71c
index 39da1df..dfaded0 100644
0dc71c
--- a/grub-core/kern/arm/cache_armv6.S
0dc71c
+++ b/grub-core/kern/arm/cache_armv6.S
0dc71c
@@ -22,7 +22,6 @@
0dc71c
 	.text
0dc71c
 	.syntax	unified
0dc71c
 	.arm
0dc71c
-	.arch	armv6
0dc71c
 
0dc71c
 # define DMB	mcr	p15, 0, r0, c7, c10, 5
0dc71c
 # define DSB	mcr	p15, 0, r0, c7, c10, 4
0dc71c
-- 
0dc71c
1.9.3
0dc71c