From patchwork Tue Feb 24 13:23:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8589 X-Patchwork-Delegate: lethal@linux-sh.org 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 n1ODQ861030173 for ; Tue, 24 Feb 2009 13:26:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755231AbZBXN0I (ORCPT ); Tue, 24 Feb 2009 08:26:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755240AbZBXN0I (ORCPT ); Tue, 24 Feb 2009 08:26:08 -0500 Received: from rv-out-0506.google.com ([209.85.198.238]:55121 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755231AbZBXN0H (ORCPT ); Tue, 24 Feb 2009 08:26:07 -0500 Received: by rv-out-0506.google.com with SMTP id g37so2479453rvb.1 for ; Tue, 24 Feb 2009 05:26:04 -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=pDMMC8LqqPwwmebk4XLLZMRT4YQBR9plsexrmbsbKZc=; b=KqFF6XPCrkBhQaWzIP3jUf8YNXlL+0RyDuUA5UTL6jZ2yg5NqoGSWye3wnZIpC7AcJ AGyU56YTtflCvYaqDwf3BzQlpr0rk+rpi+EN7kOb/xQuSHvRM5mT0oUK91NO2AQqzhVE YQkXvx1dGsrKbGiTeAoOlxnIT3tH3/5cohT/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=DauVbwCaHoY+nudV33mRwSTFCD1kuKv4plIgCJls9GrTApg68e+zLvxkG/tFTtu41G Ftuqs2W+EFyPKslCTm1UN8nBOu0lgqnEHAFCq/llbiWRj7uPwVV7NC31fkGwUX8myA2K cc4hbXvngD3U1tIb0QnGnjusfTknyMOowA4f0= Received: by 10.141.176.6 with SMTP id d6mr2602792rvp.143.1235481964908; Tue, 24 Feb 2009 05:26:04 -0800 (PST) Received: from rx1.opensource.se (114.8.221.202.ts.2iij.net [202.221.8.114]) by mx.google.com with ESMTPS id g31sm16546611rvb.7.2009.02.24.05.26.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Feb 2009 05:26:04 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Tue, 24 Feb 2009 22:23:51 +0900 Message-Id: <20090224132351.11674.87661.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: fix P4 iounmap() pass-through Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Fix iounmap() of pass-through P4 addresses. Without this patch iounmap() on the sh7780 rtc area results in a warning message. Signed-off-by: Magnus Damm --- arch/sh/mm/ioremap_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/arch/sh/mm/ioremap_32.c +++ work/arch/sh/mm/ioremap_32.c 2009-02-24 20:58:38.000000000 +0900 @@ -119,7 +119,7 @@ void __iounmap(void __iomem *addr) unsigned long seg = PXSEG(vaddr); struct vm_struct *p; - if (seg < P3SEG || seg >= P3_ADDR_MAX || is_pci_memaddr(vaddr)) + if (seg < P3SEG || vaddr >= P3_ADDR_MAX || is_pci_memaddr(vaddr)) return; #ifdef CONFIG_32BIT