forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 151fecfb72a0d602dfe79790602ef64b4e241574
kernel/arch/x86/pci/pcbios.c
....@@ -302,7 +302,7 @@
302302 check <= (union bios32 *) __va(0xffff0);
303303 ++check) {
304304 long sig;
305
- if (probe_kernel_address(&check->fields.signature, sig))
305
+ if (get_kernel_nofault(sig, &check->fields.signature))
306306 continue;
307307
308308 if (check->fields.signature != BIOS32_SIGNATURE)