arch/x86/acpi: Replace ShiftLeft() with ASL 2.0 syntax

Change-Id: I493d686fb122fb47f0b4dcf34e3635518770f97f
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60718
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Felix Singer 2022-01-03 18:56:55 +01:00
parent c9d6e81894
commit e0545cc2bb
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ Method(I2BM, 1)
Store(0, Local0)
if (LNotEqual(ARG0, 0)) {
Store(1, Local1)
ShiftLeft(Local1, ARG0, Local0)
Local0 = Local1 << ARG0
}
Return(Local0)
}