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