mirror of https://gitee.com/openkylin/linux.git
x86: fix overlong line in arch/x86/kernel/cpu/amd_64.c
Clean up an overlong line in arch/x86/kernel/cpu/amd_64.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
30a713180b
commit
1c47cd638e
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue