- linux-sysdevh-needs-to-include-linux-moduleh.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     <linux/sysdev.h> needs to include <linux/module.h>
has been removed from the -mm tree.  Its filename was
     linux-sysdevh-needs-to-include-linux-moduleh.patch

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

------------------------------------------------------
Subject: <linux/sysdev.h> needs to include <linux/module.h>
From: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

sysdev.h uses THIS_MODULE so should include <linux/module.h>.

[akpm@xxxxxxxxxxxxxxxxxxxx: couple of fixes]
Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/s390/kernel/time.c |    1 +
 include/linux/cpu.h     |    3 +++
 include/linux/sched.h   |    3 ---
 include/linux/sysdev.h  |    1 +
 4 files changed, 5 insertions(+), 3 deletions(-)

diff -puN arch/s390/kernel/time.c~linux-sysdevh-needs-to-include-linux-moduleh arch/s390/kernel/time.c
--- a/arch/s390/kernel/time.c~linux-sysdevh-needs-to-include-linux-moduleh
+++ a/arch/s390/kernel/time.c
@@ -21,6 +21,7 @@
 #include <linux/mm.h>
 #include <linux/interrupt.h>
 #include <linux/time.h>
+#include <linux/sysdev.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/smp.h>
diff -puN include/linux/cpu.h~linux-sysdevh-needs-to-include-linux-moduleh include/linux/cpu.h
--- a/include/linux/cpu.h~linux-sysdevh-needs-to-include-linux-moduleh
+++ a/include/linux/cpu.h
@@ -41,6 +41,9 @@ extern void cpu_remove_sysdev_attr(struc
 extern int cpu_add_sysdev_attr_group(struct attribute_group *attrs);
 extern void cpu_remove_sysdev_attr_group(struct attribute_group *attrs);
 
+extern struct sysdev_attribute attr_sched_mc_power_savings;
+extern struct sysdev_attribute attr_sched_smt_power_savings;
+extern int sched_create_sysfs_power_savings_entries(struct sysdev_class *cls);
 
 #ifdef CONFIG_HOTPLUG_CPU
 extern void unregister_cpu(struct cpu *cpu);
diff -puN include/linux/sched.h~linux-sysdevh-needs-to-include-linux-moduleh include/linux/sched.h
--- a/include/linux/sched.h~linux-sysdevh-needs-to-include-linux-moduleh
+++ a/include/linux/sched.h
@@ -1641,10 +1641,7 @@ static inline void arch_pick_mmap_layout
 extern long sched_setaffinity(pid_t pid, cpumask_t new_mask);
 extern long sched_getaffinity(pid_t pid, cpumask_t *mask);
 
-#include <linux/sysdev.h>
 extern int sched_mc_power_savings, sched_smt_power_savings;
-extern struct sysdev_attribute attr_sched_mc_power_savings, attr_sched_smt_power_savings;
-extern int sched_create_sysfs_power_savings_entries(struct sysdev_class *cls);
 
 extern void normalize_rt_tasks(void);
 
diff -puN include/linux/sysdev.h~linux-sysdevh-needs-to-include-linux-moduleh include/linux/sysdev.h
--- a/include/linux/sysdev.h~linux-sysdevh-needs-to-include-linux-moduleh
+++ a/include/linux/sysdev.h
@@ -22,6 +22,7 @@
 #define _SYSDEV_H_
 
 #include <linux/kobject.h>
+#include <linux/module.h>
 #include <linux/pm.h>
 
 
_

Patches currently in -mm which might be from ralf@xxxxxxxxxxxxxx are

origin.patch
git-alsa.patch
git-mips.patch
introduce-freezer-flags-rev-2.patch
mips-excite-use-__maybe_unused.patch
mips-tlbex-use-__maybe_unused.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux