ARCv2: boot log: print IOC exists as well as enabled status
[cascardo/linux.git] / arch / arc / kernel / setup.c
index f52a0d0..a77efa1 100644 (file)
@@ -171,6 +171,7 @@ static const struct cpuinfo_data arc_cpu_tbl[] = {
 #else
        { {0x50, "ARC HS38 R2.0"}, 0x51},
        { {0x52, "ARC HS38 R2.1"}, 0x52},
+       { {0x53, "ARC HS38 R3.0"}, 0x53},
 #endif
        { {0x00, NULL           } }
 };
@@ -271,9 +272,7 @@ static char *arc_extn_mumbojumbo(int cpu_id, char *buf, int len)
 
        FIX_PTR(cpu);
 
-       n += scnprintf(buf + n, len - n,
-                      "Vector Table\t: %#x\nUncached Base\t: %#lx\n",
-                      cpu->vec_base, perip_base);
+       n += scnprintf(buf + n, len - n, "Vector Table\t: %#x\n", cpu->vec_base);
 
        if (cpu->extn.fpu_sp || cpu->extn.fpu_dp)
                n += scnprintf(buf + n, len - n, "FPU\t\t: %s%s\n",
@@ -506,7 +505,7 @@ static void *c_start(struct seq_file *m, loff_t *pos)
         * way to pass it w/o having to kmalloc/free a 2 byte string.
         * Encode cpu-id as 0xFFcccc, which is decoded by show routine.
         */
-       return *pos < num_possible_cpus() ? cpu_to_ptr(*pos) : NULL;
+       return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL;
 }
 
 static void *c_next(struct seq_file *m, void *v, loff_t *pos)