Explorar el Código

[PATCH] i386: Avoid boot warning with apic=debug

There are two consumers of apic=: the apic debug level and the low
level generic architecture code. early_param would warn when the
low level code rejected "debug". Avoid this.

Signed-off-by: Andi Kleen <ak@suse.de>
Andi Kleen hace 18 años
padre
commit
9a8cb626a0
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      arch/i386/mach-generic/probe.c

+ 3 - 1
arch/i386/mach-generic/probe.c

@@ -45,7 +45,9 @@ static int __init parse_apic(char *arg)
 			return 0;
 		}
 	}
-	return -ENOENT;
+
+	/* Parsed again by __setup for debug/verbose */
+	return 0;
 }
 early_param("apic", parse_apic);