Skip to contentSkip to conversation

cris-cpuinfo_op-should-depend-on-config_proc_fs.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 8, 2014

lore
Share & tools
lore
#0 lore raw

Subject: [merged] cris-cpuinfo_op-should-depend-on-config_proc_fs.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 14:32:17 -0700

The patch titled
Subject: cris: cpuinfo_op should depend on CONFIG_PROC_FS
has been removed from the -mm tree. Its filename was
cris-cpuinfo_op-should-depend-on-config_proc_fs.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: cris: cpuinfo_op should depend on CONFIG_PROC_FS

Fix breakage which will be exposed by the patch "kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT".

Now allnoconfig started disabling CONFIG_PROC_FS:

    arch/cris/kernel/built-in.o:(.rodata+0xc): undefined reference to `show_cpuinfo'
    make: *** [vmlinux] Error 1
Cc Stephen Rothwell <[email protected]>
Cc Mikael Starvik <[email protected]>
Cc Jesper Nilsson <[email protected]>

---

 arch/cris/kernel/setup.c |    2 ++
 1 file changed, 2 insertions(+)
arch/cris/kernel/setup.c renamed from arch/cris/kernel/setup.c~cris-cpuinfo_op-should-depend-on-config_proc_fs +2 -0
diff -puN arch/cris/kernel/setup.c~cris-cpuinfo_op-should-depend-on-config_proc_fs arch/cris/kernel/setup.c
@@ -165,6 +165,7 @@ void __init setup_arch(char **cmdline_p)
 	strcpy(init_utsname()->machine, cris_machine_name);
 }
 
+#ifdef CONFIG_PROC_FS
 static void *c_start(struct seq_file *m, loff_t *pos)
 {
 	return *pos < nr_cpu_ids ? (void *)(int)(*pos + 1) : NULL;
@@ -188,6 +189,7 @@ const struct seq_operations cpuinfo_op =
 	.stop  = c_stop,
 	.show  = show_cpuinfo,
 };
+#endif /* CONFIG_PROC_FS */
 
 static int __init topology_init(void)
 {

_

Patches currently in -mm which might be from [email protected] are

origin.patch