mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-25 00:31:38 +07:00
memblock: No reason to include asm/memblock.h late
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
e3239ff92a
commit
411a25a80d
@ -16,6 +16,8 @@
|
|||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
|
|
||||||
|
#include <asm/memblock.h>
|
||||||
|
|
||||||
#define MAX_MEMBLOCK_REGIONS 128
|
#define MAX_MEMBLOCK_REGIONS 128
|
||||||
|
|
||||||
struct memblock_region {
|
struct memblock_region {
|
||||||
@ -82,8 +84,6 @@ memblock_end_pfn(struct memblock_type *type, unsigned long region_nr)
|
|||||||
memblock_size_pages(type, region_nr);
|
memblock_size_pages(type, region_nr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <asm/memblock.h>
|
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
#endif /* _LINUX_MEMBLOCK_H */
|
#endif /* _LINUX_MEMBLOCK_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user