Rev 9152 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9152 | Rev 9827 | ||
---|---|---|---|
Line 479... | Line 479... | ||
479 | u16 i; |
479 | u16 i; |
Line 480... | Line 480... | ||
480 | 480 | ||
481 | if (!amd_nb_has_feature(AMD_NB_GART)) |
481 | if (!amd_nb_has_feature(AMD_NB_GART)) |
Line 482... | Line 482... | ||
482 | return; |
482 | return; |
483 | 483 | ||
484 | flush_words = kmalloc_array(amd_northbridges.num, sizeof(u32), GFP_KERNEL); |
484 | flush_words = KernelZeroAlloc(amd_northbridges.num * sizeof(u32)); |
485 | if (!flush_words) { |
485 | if (!flush_words) { |
486 | amd_northbridges.flags &= ~AMD_NB_GART; |
486 | amd_northbridges.flags &= ~AMD_NB_GART; |
487 | pr_notice("Cannot initialize GART flush words, GART support disabled\n"); |
487 | pr_notice("Cannot initialize GART flush words, GART support disabled\n"); |