summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c')
-rw-r--r--MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c b/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
index 1f64de2630..ff11405b3d 100644
--- a/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
+++ b/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
@@ -57,9 +57,8 @@ InternalSwitchStack (
NewBsp = VA_ARG (Marker, VOID *);
//
- // Stack should be aligned with CPU_STACK_ALIGNMENT
+ // New backing store pointer should be aligned with CPU_STACK_ALIGNMENT
//
- ASSERT (((UINTN)NewStack & (CPU_STACK_ALIGNMENT - 1)) == 0);
ASSERT (((UINTN)NewBsp & (CPU_STACK_ALIGNMENT - 1)) == 0);
AsmSwitchStackAndBackingStore (EntryPoint, Context1, Context2, NewStack, NewBsp);