mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:36:42 +07:00
15 lines
317 B
C
15 lines
317 B
C
|
#include <linux/init.h>
|
||
|
#include <linux/bootmem.h>
|
||
|
#include <linux/printk.h>
|
||
|
|
||
|
void __init early_init_dt_add_memory_arch(u64 base, u64 size)
|
||
|
{
|
||
|
pr_err("%s(%llx, %llx)\n",
|
||
|
__func__, base, size);
|
||
|
}
|
||
|
|
||
|
void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align)
|
||
|
{
|
||
|
return alloc_bootmem_align(size, align);
|
||
|
}
|