summaryrefslogtreecommitdiff
path: root/EdkUnixPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-14 02:23:16 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-14 02:23:16 +0000
commit5db2b1e12dc03ce256c3c36b918147d4cf4b2928 (patch)
tree2790f9048c0c826779dd3b6868c65c704474fa88 /EdkUnixPkg
parent68154a82a871e23d54b1c77d4d8d92f263b1ee3e (diff)
downloadedk2-platforms-5db2b1e12dc03ce256c3c36b918147d4cf4b2928.tar.xz
Make sure RestoreTPL paired with RaiseTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2460 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg')
-rw-r--r--EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c b/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
index 51403ebea7..a1d63cf07c 100644
--- a/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
+++ b/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
@@ -1539,7 +1539,7 @@ Returns:
}
Done:
- OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
+ gBS->RestoreTPL (OldTpl);
return Status;
}