From patchwork Fri Mar 5 23:37:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 83859 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o25Nj3KC023540 for ; Fri, 5 Mar 2010 23:45:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755642Ab0CEXpB (ORCPT ); Fri, 5 Mar 2010 18:45:01 -0500 Received: from mail-qy0-f199.google.com ([209.85.221.199]:41744 "EHLO mail-qy0-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755407Ab0CEXpA (ORCPT ); Fri, 5 Mar 2010 18:45:00 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 05 Mar 2010 23:45:03 +0000 (UTC) X-Greylist: delayed 464 seconds by postgrey-1.27 at vger.kernel.org; Fri, 05 Mar 2010 18:45:00 EST Received: by qyk37 with SMTP id 37so2841922qyk.20 for ; Fri, 05 Mar 2010 15:45:00 -0800 (PST) Received: by 10.224.105.66 with SMTP id s2mr823845qao.254.1267832235510; Fri, 05 Mar 2010 15:37:15 -0800 (PST) Received: from localhost (deeprootsystems.com [216.254.16.51]) by mx.google.com with ESMTPS id 22sm1483882qyk.10.2010.03.05.15.37.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Mar 2010 15:37:15 -0800 (PST) From: Kevin Hilman To: linux-omap@vger.kernel.org Subject: [PATCH] OMAP2: fix cpu_is_omap24* optimizations Date: Fri, 5 Mar 2010 15:37:12 -0800 Message-Id: <1267832232-26187-1-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.6 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index ed8786c..7514174 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h @@ -167,10 +167,14 @@ IS_OMAP_SUBCLASS(443x, 0x443) #if defined(MULTI_OMAP2) # if defined(CONFIG_ARCH_OMAP2) # undef cpu_is_omap24xx -# undef cpu_is_omap242x -# undef cpu_is_omap243x # define cpu_is_omap24xx() is_omap24xx() +# endif +# if defined (CONFIG_ARCH_OMAP2420) +# undef cpu_is_omap242x # define cpu_is_omap242x() is_omap242x() +# endif +# if defined (CONFIG_ARCH_OMAP2430) +# undef cpu_is_omap243x # define cpu_is_omap243x() is_omap243x() # endif # if defined(CONFIG_ARCH_OMAP3)