summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 10:20:46 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 10:20:46 +0000
commit1bccfbe5ab2cf95f111bd8b4260b592102211027 (patch)
tree00ab65a9e33f5e19b6974a9b8db6a20a8c40e825 /ArmPkg/Drivers
parentac7362c98509cde54bb67d792b35438ec4735973 (diff)
downloadedk2-platforms-1bccfbe5ab2cf95f111bd8b4260b592102211027.tar.xz
ArmPkg/PL390Gic: Removed duplicated line of codes disabling the interrupts
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13040 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers')
-rw-r--r--ArmPkg/Drivers/PL390Gic/PL390GicDxe.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c b/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c
index d352dcaee0..3292988502 100644
--- a/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c
+++ b/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c
@@ -1,7 +1,8 @@
/*++
Copyright (c) 2009, Hewlett-Packard Company. All rights reserved.<BR>
-Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>
+Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>
+Portions copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -309,10 +310,6 @@ ExitBootServicesEvent (
{
UINTN Index;
- for (Index = 0; Index < PcdGet32(PcdGicNumInterrupts); Index++) {
- DisableInterruptSource (&gHardwareInterruptProtocol, Index);
- }
-
// Acknowledge all pending interrupts
for (Index = 0; Index < PcdGet32(PcdGicNumInterrupts); Index++) {
DisableInterruptSource (&gHardwareInterruptProtocol, Index);