setup.c (03351ff4d897098a590cb247b6eebc470b8ecb5a) setup.c (9eb8f6743b076b67f00776cda4330c802e157b41)
1/*
2 * linux/arch/arm/kernel/setup.c
3 *
4 * Copyright (C) 1995-2001 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 452 unchanged lines hidden (view full) ---

461 early_print("%08x\t%s\n", p->nr, p->name);
462
463 early_print("\nPlease check your kernel config and/or bootloader.\n");
464
465 while (true)
466 /* can't use cpu_relax() here as it may require MMU setup */;
467}
468
1/*
2 * linux/arch/arm/kernel/setup.c
3 *
4 * Copyright (C) 1995-2001 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 452 unchanged lines hidden (view full) ---

461 early_print("%08x\t%s\n", p->nr, p->name);
462
463 early_print("\nPlease check your kernel config and/or bootloader.\n");
464
465 while (true)
466 /* can't use cpu_relax() here as it may require MMU setup */;
467}
468
469static int __init arm_add_memory(phys_addr_t start, unsigned long size)
469int __init arm_add_memory(phys_addr_t start, unsigned long size)
470{
471 struct membank *bank = &meminfo.bank[meminfo.nr_banks];
472
473 if (meminfo.nr_banks >= NR_BANKS) {
474 printk(KERN_CRIT "NR_BANKS too low, "
475 "ignoring memory at 0x%08llx\n", (long long)start);
476 return -EINVAL;
477 }

--- 558 unchanged lines hidden ---
470{
471 struct membank *bank = &meminfo.bank[meminfo.nr_banks];
472
473 if (meminfo.nr_banks >= NR_BANKS) {
474 printk(KERN_CRIT "NR_BANKS too low, "
475 "ignoring memory at 0x%08llx\n", (long long)start);
476 return -EINVAL;
477 }

--- 558 unchanged lines hidden ---