system/corennnnn
Revision | 5612c52ed5981726a58fe641d7c9f3a528527cbf (tree) |
---|---|
Time | 2010-04-16 12:04:17 |
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)); |