• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revision5612c52ed5981726a58fe641d7c9f3a528527cbf (tree)
Time2010-04-16 12:04:17
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: a hack to avoid kernel warning

Change options androidboot.* to androidboot_* so kernel won't warn it.

Change Summary

Incremental Difference

--- a/init/init.c
+++ b/init/init.c
@@ -562,6 +562,8 @@ static void import_kernel_nv(char *name, int in_qemu)
562562
563563 if (!in_qemu)
564564 {
565+ if (!strncmp(name,"androidboot_",12))
566+ name[11] = '.';
565567 /* on a real device, white-list the kernel options */
566568 if (!strcmp(name,"qemu")) {
567569 strlcpy(qemu, value, sizeof(qemu));