Lines 878-884
Link Here
|
878 |
{ |
878 |
{ |
879 |
unsigned int pat1, pat2, i; |
879 |
unsigned int pat1, pat2, i; |
880 |
U008 PAT_WC_index; |
880 |
U008 PAT_WC_index; |
881 |
|
881 |
#if 0 |
882 |
if (!test_bit(X86_FEATURE_PAT, |
882 |
if (!test_bit(X86_FEATURE_PAT, |
883 |
(volatile unsigned long *)&boot_cpu_data.x86_capability)) |
883 |
(volatile unsigned long *)&boot_cpu_data.x86_capability)) |
884 |
{ |
884 |
{ |
Lines 886-892
Link Here
|
886 |
"NVRM: CPU does not support the PAT, falling back to MTRRs.\n"); |
886 |
"NVRM: CPU does not support the PAT, falling back to MTRRs.\n"); |
887 |
return NV_PAT_MODE_DISABLED; |
887 |
return NV_PAT_MODE_DISABLED; |
888 |
} |
888 |
} |
889 |
|
889 |
#endif |
890 |
NV_READ_PAT_ENTRIES(pat1, pat2); |
890 |
NV_READ_PAT_ENTRIES(pat1, pat2); |
891 |
PAT_WC_index = 0xf; |
891 |
PAT_WC_index = 0xf; |
892 |
|
892 |
|