aboutsummaryrefslogtreecommitdiff
path: root/kernel/range.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-10x86: Change range end to start+sizeYinghai Lu1-10/+10
So make interface more consistent with early_res. Later we can share some code with early_res. Signed-off-by: Yinghai Lu <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
2010-02-10x86: Move range related operation to one fileYinghai Lu1-0/+163
We have almost the same code for mtrr cleanup and amd_bus checkup, and this code will also be used in replacing bootmem with early_res, so try to move them together and reuse it from different parts. Also rename update_range to subtract_range as that is what the function is actually doing. -v2: update comments as Christoph requested Signed-off-by: Yinghai Lu <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>