summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/orion/setup.c6
-rw-r--r--arch/mips64/sgi-ip27/ip27-nmi.c5
2 files changed, 5 insertions, 6 deletions
diff --git a/arch/mips/orion/setup.c b/arch/mips/orion/setup.c
index af95c3b4c..4339644e5 100644
--- a/arch/mips/orion/setup.c
+++ b/arch/mips/orion/setup.c
@@ -150,15 +150,15 @@ int __init prom_init(int a, char **b, char **c, int *d)
mips_machgroup = MACH_GROUP_ORION;
/* 64 MB non-upgradable */
mem_size = 64 << 20;
-
+
free_start = PHYSADDR(PFN_ALIGN(&_end));
free_end = mem_size;
start_pfn = PFN_UP((unsigned long)&_end);
-
+
/* Register all the contiguous memory with the bootmem allocator
and free it. Be careful about the bootmem freemap. */
bootmap_size = init_bootmem(start_pfn, mem_size >> PAGE_SHIFT);
-
+
/* Free the entire available memory after the _end symbol. */
free_start += bootmap_size;
free_bootmem(free_start, free_end-free_start);
diff --git a/arch/mips64/sgi-ip27/ip27-nmi.c b/arch/mips64/sgi-ip27/ip27-nmi.c
index baf8d70fa..8b03918f8 100644
--- a/arch/mips64/sgi-ip27/ip27-nmi.c
+++ b/arch/mips64/sgi-ip27/ip27-nmi.c
@@ -57,10 +57,10 @@ nmi_cpu_eframe_save(nasid_t nasid,
{
int i, numberof_nmi_cpu_regs;
machreg_t *prom_format;
-
+
/* Get the total number of registers being saved by the prom */
numberof_nmi_cpu_regs = sizeof(struct reg_struct) / sizeof(machreg_t);
-
+
/* Get the pointer to the current cpu's register set. */
prom_format =
(machreg_t *)(TO_UNCAC(TO_NODE(nasid, IP27_NMI_KREGS_OFFSET)) +
@@ -166,4 +166,3 @@ cont_nmi_dump(void)
nmi_eframes_save();
LOCAL_HUB_S(NI_PORT_RESET, NPR_PORTRESET | NPR_LOCALRESET);
}
-