]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/PL390Gic: Removed duplicated line of codes disabling the interrupts
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 27 Feb 2012 10:20:46 +0000 (10:20 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 27 Feb 2012 10:20:46 +0000 (10:20 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13040 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Drivers/PL390Gic/PL390GicDxe.c

index d352dcaee04a2a1d1a7455b4cb12898f15c5c313..3292988502eb0c0715efec0bd5a3051d52cafd4f 100644 (file)
@@ -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);