staging: Use GFP_ATOMIC when a lock is held
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / early_res.h
blob29c09f57a13c1d704ef6924c3c238d2d3182c240
1 #ifndef _LINUX_EARLY_RES_H
2 #define _LINUX_EARLY_RES_H
3 #ifdef __KERNEL__
5 extern void reserve_early(u64 start, u64 end, char *name);
6 extern void reserve_early_overlap_ok(u64 start, u64 end, char *name);
7 extern void free_early(u64 start, u64 end);
8 void free_early_partial(u64 start, u64 end);
9 extern void early_res_to_bootmem(u64 start, u64 end);
11 void reserve_early_without_check(u64 start, u64 end, char *name);
12 u64 find_early_area(u64 ei_start, u64 ei_last, u64 start, u64 end,
13 u64 size, u64 align);
14 u64 find_early_area_size(u64 ei_start, u64 ei_last, u64 start,
15 u64 *sizep, u64 align);
16 u64 find_fw_memmap_area(u64 start, u64 end, u64 size, u64 align);
17 u64 get_max_mapped(void);
18 #include <linux/range.h>
19 int get_free_all_memory_range(struct range **rangep, int nodeid);
21 #endif /* __KERNEL__ */
23 #endif /* _LINUX_EARLY_RES_H */