]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/kernel/setup_64.c
Merge branch 'master' into tk71
[mv-sheeva.git] / arch / powerpc / kernel / setup_64.c
index e72690ec9b87489af9e8d30a8e81ac84e03db229..5a0401fcaebd2b078994d156253de9d2467c6ea7 100644 (file)
@@ -437,8 +437,8 @@ static void __init irqstack_early_init(void)
        unsigned int i;
 
        /*
-        * interrupt stacks must be under 256MB, we cannot afford to take
-        * SLB misses on them.
+        * Interrupt stacks must be in the first segment since we
+        * cannot afford to take SLB misses on them.
         */
        for_each_possible_cpu(i) {
                softirq_ctx[i] = (struct thread_info *)
@@ -486,7 +486,7 @@ static void __init emergency_stack_init(void)
         * bringup, we need to get at them in real mode. This means they
         * must also be within the RMO region.
         */
-       limit = min(slb0_limit(), memblock.rmo_size);
+       limit = min(slb0_limit(), ppc64_rma_size);
 
        for_each_possible_cpu(i) {
                unsigned long sp;
@@ -497,9 +497,8 @@ static void __init emergency_stack_init(void)
 }
 
 /*
- * Called into from start_kernel, after lock_kernel has been called.
- * Initializes bootmem, which is unsed to manage page allocation until
- * mem_init is called.
+ * Called into from start_kernel this initializes bootmem, which is used
+ * to manage page allocation until mem_init is called.
  */
 void __init setup_arch(char **cmdline_p)
 {