mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
4e929d2bcf
Will says:
| Commit e63075a3
removed the explicit MEMBLOCK_REAL_LIMIT #define
| and introduced the requirement that arch code calls
| memblock_set_current_limit to ensure that the __va macro can
| be used on physical addresses returned from memblock_alloc.
Unfortunately, ARM was missed out of this change. Fix this.
Reported-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
10 lines
175 B
C
10 lines
175 B
C
#ifndef _ASM_ARM_MEMBLOCK_H
|
|
#define _ASM_ARM_MEMBLOCK_H
|
|
|
|
struct meminfo;
|
|
struct machine_desc;
|
|
|
|
extern void arm_memblock_init(struct meminfo *, struct machine_desc *);
|
|
|
|
#endif
|