system/corennnnn
Revision | 8649f0479b02899f0438fa505afe60a3a20228e3 (tree) |
---|---|
Time | 2010-02-27 16:12:49 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: a hack to avoid kernel warning
Change options androidboot.* to androidboot_* so kernel won't warn it.
@@ -562,6 +562,8 @@ static void import_kernel_nv(char *name, int in_qemu) | ||
562 | 562 | |
563 | 563 | if (!in_qemu) |
564 | 564 | { |
565 | + if (!strncmp(name,"androidboot_",12)) | |
566 | + name[11] = '.'; | |
565 | 567 | /* on a real device, white-list the kernel options */ |
566 | 568 | if (!strcmp(name,"qemu")) { |
567 | 569 | strlcpy(qemu, value, sizeof(qemu)); |