forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
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)