diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
commit | fc54b9bf158eea9cae647ce2c58f7d9989af173a (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch | |
parent | d9f49b62b28ebd245587854efa484974d90debbf (diff) |
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch b/target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch new file mode 100644 index 0000000000..484410460b --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch @@ -0,0 +1,45 @@ +From 624dadf2c300d9e5e439c07e1244babcef2fedca Mon Sep 17 00:00:00 2001 +From: Holger Freyther <zecke@openmoko.org> +Date: Tue, 13 May 2008 18:53:40 +0100 +Subject: [PATCH] Re: [PATCH 6/7] fix-suppress-cpu-suspend-save-restore-messages.patch + +Andy Green <andy@...> writes: + + +I kind of dislike commenting out code. Is this any better? +--- + arch/arm/plat-s3c24xx/pm.c | 9 ++++++++- + 1 files changed, 8 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/plat-s3c24xx/pm.c b/arch/arm/plat-s3c24xx/pm.c +index 4fdb311..ae8efaf 100644 +--- a/arch/arm/plat-s3c24xx/pm.c ++++ b/arch/arm/plat-s3c24xx/pm.c +@@ -169,8 +169,15 @@ static void s3c2410_pm_debug_init(void) + } + + #define DBG(fmt...) pm_dbg(fmt) ++#define RESTORE_DBG(fmt...) printk(KERN_DEBUG fmt) + #else ++#if 0 + #define DBG(fmt...) printk(KERN_DEBUG fmt) ++#define RESTORE_DBG(fmt...) printk(KERN_DEBUG fmt) ++#else ++#define DBG(fmt...) do { } while (0) ++#define RESTORE_DBG(fmt...) do { } while (0) ++#endif + + #define s3c2410_pm_debug_init() do { } while(0) + +@@ -392,7 +399,7 @@ void s3c2410_pm_do_save(struct sleep_save *ptr, int count) + void s3c2410_pm_do_restore(struct sleep_save *ptr, int count) + { + for (; count > 0; count--, ptr++) { +- printk(KERN_DEBUG "restore %p (restore %08lx, was %08x)\n", ++ RESTORE_DBG("restore %p (restore %08lx, was %08x)\n", + ptr->reg, ptr->val, __raw_readl(ptr->reg)); + + __raw_writel(ptr->val, ptr->reg); +-- +1.5.6.5 + |