Re: Hibernation and suspend patchset

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

 



Hi Rafael,

Some bugs with freezer_exempt:

kernel/softirq.c: In function ‘ksoftirqd’:
kernel/softirq.c:515: warning: implicit declaration of function ‘freezer_exempt’
[...]

Maybe some header file they all use pulls in freezer.h on x86 but not on
powerpc? This fixes it.

--- linux-2.6-git.orig/drivers/block/loop.c	2007-05-03 15:30:23.274123904 +0200
+++ linux-2.6-git/drivers/block/loop.c	2007-05-03 15:30:43.015123904 +0200
@@ -74,6 +74,7 @@
 #include <linux/highmem.h>
 #include <linux/gfp.h>
 #include <linux/kthread.h>
+#include <linux/freezer.h>
 
 #include <asm/uaccess.h>
 
--- linux-2.6-git.orig/drivers/ieee1394/ieee1394_core.c	2007-05-03 15:30:23.423123904 +0200
+++ linux-2.6-git/drivers/ieee1394/ieee1394_core.c	2007-05-03 15:30:50.023123904 +0200
@@ -34,6 +34,7 @@
 #include <linux/kthread.h>
 #include <linux/preempt.h>
 #include <linux/time.h>
+#include <linux/freezer.h>
 
 #include <asm/system.h>
 #include <asm/byteorder.h>
--- linux-2.6-git.orig/drivers/scsi/scsi_error.c	2007-05-03 15:30:23.498123904 +0200
+++ linux-2.6-git/drivers/scsi/scsi_error.c	2007-05-03 15:30:54.423123904 +0200
@@ -24,6 +24,7 @@
 #include <linux/interrupt.h>
 #include <linux/blkdev.h>
 #include <linux/delay.h>
+#include <linux/freezer.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_cmnd.h>
--- linux-2.6-git.orig/kernel/softirq.c	2007-05-03 15:30:23.187123904 +0200
+++ linux-2.6-git/kernel/softirq.c	2007-05-03 15:30:37.470123904 +0200
@@ -18,6 +18,7 @@
 #include <linux/rcupdate.h>
 #include <linux/smp.h>
 #include <linux/tick.h>
+#include <linux/freezer.h>
 
 #include <asm/irq.h>
 /*
--- linux-2.6-git.orig/kernel/softlockup.c	2007-05-03 15:30:23.348123904 +0200
+++ linux-2.6-git/kernel/softlockup.c	2007-05-03 15:30:46.214123904 +0200
@@ -13,6 +13,7 @@
 #include <linux/kthread.h>
 #include <linux/notifier.h>
 #include <linux/module.h>
+#include <linux/freezer.h>
 
 static DEFINE_SPINLOCK(print_lock);
 
--- wireless-dev.orig/drivers/char/apm-emulation.c      2007-05-03 20:01:08.309154963 +0200
+++ wireless-dev/drivers/char/apm-emulation.c   2007-05-03 20:01:14.119154963 +0200
@@ -27,6 +27,7 @@
 #include <linux/completion.h>
 #include <linux/kthread.h>
 #include <linux/delay.h>
+#include <linux/freezer.h>
 
 #include <asm/system.h>
 



_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux