[coreboot-gerrit] Change in coreboot[master]: arch/x86/exception.c: Remove double initialization

Richard Spiegel (Code Review) gerrit at coreboot.org
Tue Aug 7 23:36:08 CEST 2018


Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/27948


Change subject: arch/x86/exception.c: Remove double initialization
......................................................................

arch/x86/exception.c: Remove double initialization

In procedure exception_init(), structure pointer gates is initialized twice.
Remove one initialization.

BUG=b:112253891
TEST=Build and boot grunt.

Change-Id: If0280963e8b796f795e77a11569277dcf16b4507
Signed-off-by: Richard Spiegel <richard.spiegel at silverbackltd.com>
---
M src/arch/x86/exception.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/27948/1

diff --git a/src/arch/x86/exception.c b/src/arch/x86/exception.c
index f668ffc..201e835 100644
--- a/src/arch/x86/exception.c
+++ b/src/arch/x86/exception.c
@@ -622,7 +622,7 @@
 {
 	int i;
 	uint16_t segment;
-	struct intr_gate *gates = car_get_var_ptr(idt);
+	struct intr_gate *gates;
 
 	segment = get_cs();
 	gates = car_get_var_ptr(idt);

-- 
To view, visit https://review.coreboot.org/27948
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If0280963e8b796f795e77a11569277dcf16b4507
Gerrit-Change-Number: 27948
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel at silverbackltd.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180807/bc9813fb/attachment.html>


More information about the coreboot-gerrit mailing list