Make sure RestoreTPL paired with RaiseTPL
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 14 Mar 2007 02:23:16 +0000 (02:23 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 14 Mar 2007 02:23:16 +0000 (02:23 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2460 6f19259b-4bc3-4df7-8a09-765794883524

EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c

index 51403eb..a1d63cf 100644 (file)
@@ -1539,7 +1539,7 @@ Returns:
   }\r
 \r
 Done:\r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);\r
+  gBS->RestoreTPL (OldTpl);\r
   return Status;\r
 }\r
 \r