}
} /* add_memory_region */
-static void __init print_e820_memory_map(struct e820entry *map, int entries)
+static void __init print_e820_memory_map(struct e820entry *map, unsigned int entries)
{
- int i;
+ unsigned int i;
for (i = 0; i < entries; i++) {
printk(" %016Lx - %016Lx ",
}
static void __init machine_specific_memory_setup(
- struct e820entry *raw, int *raw_nr)
+ struct e820entry *raw, unsigned int *raw_nr)
{
unsigned long mpt_limit, ro_mpt_limit;
uint64_t top_of_ram, size;
}
unsigned long __init init_e820(
- const char *str, struct e820entry *raw, int *raw_nr)
+ const char *str, struct e820entry *raw, unsigned int *raw_nr)
{
if ( e820_verbose )
{
uint32_t orig_type, uint32_t new_type);
extern int e820_add_range(
struct e820map *, uint64_t s, uint64_t e, uint32_t type);
-extern unsigned long init_e820(const char *, struct e820entry *, int *);
+extern unsigned long init_e820(const char *, struct e820entry *, unsigned int *);
extern struct e820map e820;
/* These symbols live in the boot trampoline. */
extern struct e820entry e820map[];
-extern int e820nr;
+extern unsigned int e820nr;
extern unsigned int lowmem_kb, highmem_kb;
#define e820_raw bootsym(e820map)