Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99420
b: refs/heads/master
c: 1c47cd6
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed May 30, 2008
1 parent 277b464 commit 83f8d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30a713180b3d08fdec5ca572e5a1cd35253c5d8e
refs/heads/master: 1c47cd638e8302bc38be1f6d81067950e038ebd3
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/cpu/amd_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ void __cpuinit init_amd(struct cpuinfo_x86 *c)
* benefit in doing so.
*/
if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg) &&
(tseg >> PMD_SHIFT) < (max_pfn_mapped >> (PMD_SHIFT-PAGE_SHIFT)))
(tseg >> PMD_SHIFT) <
(max_pfn_mapped >> (PMD_SHIFT-PAGE_SHIFT)))
set_memory_4k((unsigned long)__va(tseg), 1);
}
}

0 comments on commit 83f8d90

Please sign in to comment.