On Mon, Jan 14, 2013 at 12:42 PM, H. Peter Anvin wrote:
> On 01/03/2013 04:48 PM, Yinghai Lu wrote:
>>
>> - mapped_size = get_mem_size(max_pfn_mapped);
>> + mapped_size = (u64)memblock_mem_size(max_pfn_mapped);
>
> This cast is completely unnecessary.
ok, dropped that cast.
--
To unsubscr
On 01/03/2013 04:48 PM, Yinghai Lu wrote:
>
> - mapped_size = get_mem_size(max_pfn_mapped);
> + mapped_size = (u64)memblock_mem_size(max_pfn_mapped);
This cast is completely unnecessary.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the bod
Use it to get mem size under the limit_pfn.
to replace local version in x86 reserved_initrd.
Signed-off-by: Yinghai Lu
---
arch/x86/kernel/setup.c | 16 +---
include/linux/memblock.h |1 +
mm/memblock.c| 17 +
3 files changed, 19 insertions(+), 15
3 matches
Mail list logo