|
@@ -103,6 +103,9 @@ static inline u16 amd_pci_dev_to_node_id(struct pci_dev *pdev)
|
|
|
|
|
|
static inline bool amd_gart_present(void)
|
|
static inline bool amd_gart_present(void)
|
|
{
|
|
{
|
|
|
|
+ if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD)
|
|
|
|
+ return false;
|
|
|
|
+
|
|
/* GART present only on Fam15h, upto model 0fh */
|
|
/* GART present only on Fam15h, upto model 0fh */
|
|
if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 ||
|
|
if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 ||
|
|
(boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10))
|
|
(boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10))
|