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:
parent
c9d6e81894
commit
e0545cc2bb
|
@ -95,7 +95,7 @@ Method(I2BM, 1)
|
||||||
Store(0, Local0)
|
Store(0, Local0)
|
||||||
if (LNotEqual(ARG0, 0)) {
|
if (LNotEqual(ARG0, 0)) {
|
||||||
Store(1, Local1)
|
Store(1, Local1)
|
||||||
ShiftLeft(Local1, ARG0, Local0)
|
Local0 = Local1 << ARG0
|
||||||
}
|
}
|
||||||
Return(Local0)
|
Return(Local0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue