]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Hand/Notify.c
1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Hand / Notify.c
index 407e3ff8ff0a0cd531c708adc5d10ddee6c08130..dd170ac1cc66209740b4f1ea1b7f9fa3c21d44fa 100644 (file)
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 **/\r
 \r
 #include "DxeMain.h"\r
+#include "Handle.h"\r
 \r
 \r
 /**\r
@@ -280,10 +281,10 @@ CoreReinstallProtocolInterface (
   //\r
   CoreNotifyProtocolEntry (ProtEntry);\r
 \r
-  CoreReleaseProtocolLock ();\r
-\r
   Status = EFI_SUCCESS;\r
 \r
 Done:\r
+  CoreReleaseProtocolLock ();\r
+\r
   return Status;\r
 }\r