forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
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)