diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
commit | 26e3776a22bf894ced5af4c28968dc1dc99968eb (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch | |
parent | 4bd70fc26256cf485f19e0c8b881e078dc36134f (diff) |
nuke obsolete kernel stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch deleted file mode 100644 index e7ce35ed3..000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch +++ /dev/null @@ -1,45 +0,0 @@ -From fa1e8c2fc849472cddb65bc3138944382b320589 Mon Sep 17 00:00:00 2001 -From: mokopatches <mokopatches@openmoko.org> -Date: Fri, 4 Apr 2008 11:30:15 +0100 -Subject: [PATCH] resume-timers-wq.patch - The initialization of clocks uses mutexes, but we execute the resume in - an interrupt context. We therefore have to hand this task to a non-interrupt. - -Adapted from a patch by Andy Green. ---- - arch/arm/plat-s3c24xx/time.c | 18 +++++++++++++++++- - 1 files changed, 17 insertions(+), 1 deletions(-) - -diff --git a/arch/arm/plat-s3c24xx/time.c b/arch/arm/plat-s3c24xx/time.c -index 2ec1daa..c11d0dd 100644 ---- a/arch/arm/plat-s3c24xx/time.c -+++ b/arch/arm/plat-s3c24xx/time.c -@@ -255,8 +255,24 @@ static void __init s3c2410_timer_init (void) - setup_irq(IRQ_TIMER4, &s3c2410_timer_irq); - } - -+static void s3c2410_timer_resume_work(struct work_struct *work) -+{ -+ s3c2410_timer_setup(); -+} -+ -+static void s3c2410_timer_resume(void) -+{ -+ static DECLARE_WORK(work, s3c2410_timer_resume_work); -+ int res; -+ -+ res = schedule_work(&work); -+ if (!res) -+ printk(KERN_ERR -+ "s3c2410_timer_resume_work already queued ???\n"); -+} -+ - struct sys_timer s3c24xx_timer = { - .init = s3c2410_timer_init, - .offset = s3c2410_gettimeoffset, -- .resume = s3c2410_timer_setup -+ .resume = s3c2410_timer_resume, - }; --- -1.5.6.5 - |