From patchwork Mon Feb 23 08:02:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8389 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1N84Lm0005266 for ; Mon, 23 Feb 2009 08:04:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752889AbZBWIEU (ORCPT ); Mon, 23 Feb 2009 03:04:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752884AbZBWIEU (ORCPT ); Mon, 23 Feb 2009 03:04:20 -0500 Received: from rv-out-0506.google.com ([209.85.198.231]:41429 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752719AbZBWIET (ORCPT ); Mon, 23 Feb 2009 03:04:19 -0500 Received: by rv-out-0506.google.com with SMTP id g37so1837715rvb.1 for ; Mon, 23 Feb 2009 00:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=V+4xrI1Hzarg7KOgLC5sFpJIogGlPAYOUMm7M5uHpPY=; b=vu0mbOYr5D6v5Hn3BmvoPvjwA/c+lgVT6pqZEwUjmBX25pt/QowV0JJJOJXxHgDwsN rlPRmLSDcQhmYkXTSobsMf/T5ZjVwImuTqjSYglqR3zM44YEj62MaSAbMI3U5y8m/Fwk DEL804ki4EDC4E+0RL74uQybhCsQhjtiB9TnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=l24f3I4DzzGQH9EiIcNEryK4w4yJ0nErK6c6yCq0GaCJ/i+nP013qbFBy5LaDWBXbb jVGiP4NIuh//kpqt+b/Ge/zc3CLIPAR3qd5RUtetPdmg8WLXjYl6vL7tg4z0p2TWrbyK 7Al6aPXQhx6D72dqL1GCHbRaIuP+4v43WUC9k= Received: by 10.114.95.12 with SMTP id s12mr1554072wab.223.1235376258555; Mon, 23 Feb 2009 00:04:18 -0800 (PST) Received: from rx1.opensource.se (mailhost.igel.co.jp [219.106.231.130]) by mx.google.com with ESMTPS id z15sm13119137pod.14.2009.02.23.00.04.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 00:04:18 -0800 (PST) From: Magnus Damm To: linux-pm@lists.linux-foundation.org Cc: Magnus Damm , lethal@linux-sh.org, akpm@linux-foundation.org, linux-sh@vger.kernel.org Date: Mon, 23 Feb 2009 17:02:04 +0900 Message-Id: <20090223080204.13536.67018.sendpatchset@rx1.opensource.se> Subject: [PATCH] pm: rework includes, remove arch ifdefs Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm This patch contains the following header file changes: - remove arch ifdefs and asm/suspend.h from linux/suspend.h - add asm/suspend.h to disk.c (for arch_prepare_suspend()) - add linux/io.h to swsusp.c (for ioremap()) Signed-off-by: Magnus Damm --- These are the only generic changes needed to get CONFIG_HIBERNATION working on SuperH. include/linux/suspend.h | 3 --- kernel/power/disk.c | 1 + kernel/power/swsusp.c | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/include/linux/suspend.h +++ work/include/linux/suspend.h 2009-02-23 14:44:28.000000000 +0900 @@ -1,9 +1,6 @@ #ifndef _LINUX_SUSPEND_H #define _LINUX_SUSPEND_H -#if defined(CONFIG_X86) || defined(CONFIG_FRV) || defined(CONFIG_PPC32) || defined(CONFIG_PPC64) -#include -#endif #include #include #include --- 0001/kernel/power/disk.c +++ work/kernel/power/disk.c 2009-02-23 14:44:02.000000000 +0900 @@ -22,6 +22,7 @@ #include #include #include +#include #include "power.h" --- 0001/kernel/power/swsusp.c +++ work/kernel/power/swsusp.c 2009-02-23 14:43:17.000000000 +0900 @@ -51,6 +51,7 @@ #include #include #include +#include #include "power.h"