summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/suspend2-sources/files')
-rw-r--r--sys-kernel/suspend2-sources/files/4306_dm-bbr-create_workqueue.patch15
-rw-r--r--sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r64
-rw-r--r--sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r74
-rw-r--r--sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch21
-rw-r--r--sys-kernel/suspend2-sources/files/linux-2.6.12-try_to_freeze.patch84
-rw-r--r--sys-kernel/suspend2-sources/files/linux-2.6.12-vesafb-tng-suspend2.patch17
6 files changed, 0 insertions, 145 deletions
diff --git a/sys-kernel/suspend2-sources/files/4306_dm-bbr-create_workqueue.patch b/sys-kernel/suspend2-sources/files/4306_dm-bbr-create_workqueue.patch
deleted file mode 100644
index 59a8e9d6cb77..000000000000
--- a/sys-kernel/suspend2-sources/files/4306_dm-bbr-create_workqueue.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -urp linux-2.6.12/drivers/md/dm-bbr.c linux-2.6.12-dm-bbr-create_workqueue/drivers/md/dm-bbr.c
---- linux-2.6.12/drivers/md/dm-bbr.c 2005-06-29 14:35:31.000000000 +0200
-+++ linux-2.6.12-dm-bbr-create_workqueue/drivers/md/dm-bbr.c 2005-06-29 16:58:37.000000000 +0200
-@@ -959,7 +959,11 @@ int __init dm_bbr_init(void)
- goto err4;
- }
-
-+#ifdef PF_SYNCTHREAD
-+ dm_bbr_wq = create_workqueue("dm-bbr", 0);
-+#else
- dm_bbr_wq = create_workqueue("dm-bbr");
-+#endif
- if (!dm_bbr_wq) {
- DMERR("dm-bbr: error creating work-queue.");
- rc = ENOMEM;
diff --git a/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6 b/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6
deleted file mode 100644
index e98473571131..000000000000
--- a/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 c5d2a1b62e1dad502c871bba267337d5 linux-2.6.12.tar.bz2 37511570
-MD5 41af3b58c0fce0f3ab186c713d6fbdce genpatches-2.6.12-13.base.tar.bz2 49335
-MD5 96d4ea6b00288e03c595e5a829cb8f71 genpatches-2.6.12-13.extras.tar.bz2 232634
-MD5 f5b74120554c99d7e6ef592693ad7be6 software-suspend-2.1.9.9-for-2.6.12.tar.bz2 129521
diff --git a/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r7 b/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r7
deleted file mode 100644
index be91d9df1777..000000000000
--- a/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r7
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 c5d2a1b62e1dad502c871bba267337d5 linux-2.6.12.tar.bz2 37511570
-MD5 e4ef8778b5c007cffcd5c6a9548c28fa genpatches-2.6.12-14.base.tar.bz2 52185
-MD5 96d4ea6b00288e03c595e5a829cb8f71 genpatches-2.6.12-14.extras.tar.bz2 232634
-MD5 f5b74120554c99d7e6ef592693ad7be6 software-suspend-2.1.9.9-for-2.6.12.tar.bz2 129521
diff --git a/sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch b/sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch
deleted file mode 100644
index e7d0828b686d..000000000000
--- a/sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urp linux-2.6.12/drivers/net/skge.c linux-2.6.12-skge-pm_message_t/drivers/net/skge.c
---- linux-2.6.12/drivers/net/skge.c 2005-08-21 16:41:40.000000000 +0200
-+++ linux-2.6.12-skge-pm_message_t/drivers/net/skge.c 2005-08-21 16:46:53.000000000 +0200
-@@ -3237,7 +3237,7 @@ static void __devexit skge_remove(struct
- }
-
- #ifdef CONFIG_PM
--static int skge_suspend(struct pci_dev *pdev, u32 state)
-+static int skge_suspend(struct pci_dev *pdev, pm_message_t state)
- {
- struct skge_hw *hw = pci_get_drvdata(pdev);
- int i, wol = 0;
-@@ -3257,7 +3257,7 @@ static int skge_suspend(struct pci_dev *
- }
-
- pci_save_state(pdev);
-- pci_enable_wake(pdev, state, wol);
-+ pci_enable_wake(pdev, pci_choose_state(pdev, state), wol);
- pci_disable_device(pdev);
- pci_set_power_state(pdev, pci_choose_state(pdev, state));
-
diff --git a/sys-kernel/suspend2-sources/files/linux-2.6.12-try_to_freeze.patch b/sys-kernel/suspend2-sources/files/linux-2.6.12-try_to_freeze.patch
deleted file mode 100644
index 09a33d63fc7b..000000000000
--- a/sys-kernel/suspend2-sources/files/linux-2.6.12-try_to_freeze.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-diff -urp linux-2.6.12/arch/arm/kernel/signal.c linux-2.6.12-try_to_freeze/arch/arm/kernel/signal.c
---- linux-2.6.12/arch/arm/kernel/signal.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/arch/arm/kernel/signal.c 2005-07-08 19:48:20.000000000 +0200
-@@ -688,7 +688,7 @@ static int do_signal(sigset_t *oldset, s
- if (!user_mode(regs))
- return 0;
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- goto no_signal;
-
- if (current->ptrace & PT_SINGLESTEP)
-diff -urp linux-2.6.12/arch/mips/kernel/irixsig.c linux-2.6.12-try_to_freeze/arch/mips/kernel/irixsig.c
---- linux-2.6.12/arch/mips/kernel/irixsig.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/arch/mips/kernel/irixsig.c 2005-07-08 19:48:27.000000000 +0200
-@@ -178,7 +178,7 @@ asmlinkage int do_irix_signal(sigset_t *
- if (!user_mode(regs))
- return 1;
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- goto no_signal;
-
- if (!oldset)
-diff -urp linux-2.6.12/arch/mips/kernel/signal32.c linux-2.6.12-try_to_freeze/arch/mips/kernel/signal32.c
---- linux-2.6.12/arch/mips/kernel/signal32.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/arch/mips/kernel/signal32.c 2005-07-08 19:48:28.000000000 +0200
-@@ -774,7 +774,7 @@ int do_signal32(sigset_t *oldset, struct
- if (!user_mode(regs))
- return 1;
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- goto no_signal;
-
- if (!oldset)
-diff -urp linux-2.6.12/arch/mips/kernel/signal.c linux-2.6.12-try_to_freeze/arch/mips/kernel/signal.c
---- linux-2.6.12/arch/mips/kernel/signal.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/arch/mips/kernel/signal.c 2005-07-08 19:48:27.000000000 +0200
-@@ -457,7 +457,7 @@ static int do_signal(sigset_t *oldset, s
- if (!user_mode(regs))
- return 1;
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- goto no_signal;
-
- if (!oldset)
-diff -urp linux-2.6.12/arch/sh/kernel/signal.c linux-2.6.12-try_to_freeze/arch/sh/kernel/signal.c
---- linux-2.6.12/arch/sh/kernel/signal.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/arch/sh/kernel/signal.c 2005-07-08 19:48:19.000000000 +0200
-@@ -579,7 +579,7 @@ int do_signal(struct pt_regs *regs, sigs
- if (!user_mode(regs))
- return 1;
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- goto no_signal;
-
- if (!oldset)
-diff -urp linux-2.6.12/arch/sh64/kernel/signal.c linux-2.6.12-try_to_freeze/arch/sh64/kernel/signal.c
---- linux-2.6.12/arch/sh64/kernel/signal.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/arch/sh64/kernel/signal.c 2005-07-08 19:48:29.000000000 +0200
-@@ -697,7 +697,7 @@ int do_signal(struct pt_regs *regs, sigs
- if (!user_mode(regs))
- return 1;
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- goto no_signal;
-
- if (!oldset)
-diff -urp linux-2.6.12/fs/jffs2/background.c linux-2.6.12-try_to_freeze/fs/jffs2/background.c
---- linux-2.6.12/fs/jffs2/background.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-try_to_freeze/fs/jffs2/background.c 2005-07-08 19:48:11.000000000 +0200
-@@ -92,7 +92,7 @@ static int jffs2_garbage_collect_thread(
- schedule();
- }
-
-- if (try_to_freeze(0))
-+ if (try_to_freeze())
- continue;
-
- cond_resched();
diff --git a/sys-kernel/suspend2-sources/files/linux-2.6.12-vesafb-tng-suspend2.patch b/sys-kernel/suspend2-sources/files/linux-2.6.12-vesafb-tng-suspend2.patch
deleted file mode 100644
index f43dd0bcb75b..000000000000
--- a/sys-kernel/suspend2-sources/files/linux-2.6.12-vesafb-tng-suspend2.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -urp linux-2.6.12/drivers/video/vesafb-thread.c linux-2.6.12-vesafb-tng-suspend2/drivers/video/vesafb-thread.c
---- linux-2.6.12/drivers/video/vesafb-thread.c 2005-06-29 14:35:32.000000000 +0200
-+++ linux-2.6.12-vesafb-tng-suspend2/drivers/video/vesafb-thread.c 2005-07-04 23:44:38.000000000 +0200
-@@ -540,8 +540,13 @@ int vesafb_thread(void *unused)
- while (1) {
- vesafb_handle_tasks();
- wait_event_interruptible(vesafb_wait, !list_empty(&vesafb_task_list));
-+
-+#ifdef PF_FREEZE
- if (current->flags & PF_FREEZE)
- refrigerator(PF_FREEZE);
-+#else
-+ try_to_freeze();
-+#endif
-
- if (signal_pending(current))
- break;