forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/ia64/pci/fixup.c
....@@ -8,8 +8,7 @@
88 #include <linux/init.h>
99 #include <linux/vgaarb.h>
1010 #include <linux/screen_info.h>
11
-
12
-#include <asm/machvec.h>
11
+#include <asm/uv/uv.h>
1312
1413 /*
1514 * Fixup to mark boot BIOS video selected by BIOS before it changes
....@@ -35,8 +34,7 @@
3534 u16 config;
3635 struct resource *res;
3736
38
- if ((strcmp(ia64_platform_name, "dig") != 0)
39
- && (strcmp(ia64_platform_name, "hpzx1") != 0))
37
+ if (is_uv_system())
4038 return;
4139 /* Maybe, this machine supports legacy memory map. */
4240