rk: module.c: enable debug locks for rk plat
author黄涛 <huangtao@rock-chips.com>
Mon, 26 Mar 2012 06:39:56 +0000 (14:39 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 26 Mar 2012 06:39:56 +0000 (14:39 +0800)
kernel/module.c

index 4b52684a013ea692ae320844205bbbd8abf6ec42..242a688757d4adc1c1d1b057c61a51a9e88d40ef 100644 (file)
@@ -1982,6 +1982,10 @@ static void layout_sections(struct module *mod, struct load_info *info)
 
 static void set_license(struct module *mod, const char *license)
 {
+#ifdef CONFIG_PLAT_RK
+       return;
+#endif
+
        if (!license)
                license = "unspecified";