* [PATCH] Fix cpu_is_omap343x()
@ 2007-11-29 1:20 Paul Walmsley
2007-12-05 23:10 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Paul Walmsley @ 2007-11-29 1:20 UTC (permalink / raw)
To: linux-omap-open-source, linux-omap
cpu_is_omap343x() is missing its setup code, and returns 0 on all platforms -
including OMAP343x.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
---
include/asm-arm/arch-omap/cpu.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: linux-omap/include/asm-arm/arch-omap/cpu.h
===================================================================
--- linux-omap.orig/include/asm-arm/arch-omap/cpu.h 2007-11-23 17:46:16.000000000 -0700
+++ linux-omap/include/asm-arm/arch-omap/cpu.h 2007-11-28 17:59:03.000000000 -0700
@@ -122,6 +122,7 @@
#define cpu_is_omap24xx() 0
#define cpu_is_omap242x() 0
#define cpu_is_omap243x() 0
+#define cpu_is_omap34xx() 0
#define cpu_is_omap343x() 0
#if defined(MULTI_OMAP1)
@@ -160,9 +161,9 @@
# endif
# if defined(CONFIG_ARCH_OMAP34XX)
# undef cpu_is_omap34xx
+# undef cpu_is_omap343x
# define cpu_is_omap34xx() 1
-# else
-# define cpu_is_omap34xx() 0
+# define cpu_is_omap343x() is_omap343x()
# endif
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix cpu_is_omap343x()
2007-11-29 1:20 [PATCH] Fix cpu_is_omap343x() Paul Walmsley
@ 2007-12-05 23:10 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-12-05 23:10 UTC (permalink / raw)
To: Paul Walmsley; +Cc: linux-omap, linux-omap-open-source
* Paul Walmsley <paul@pwsan.com> [071128 17:21]:
>
> cpu_is_omap343x() is missing its setup code, and returns 0 on all platforms -
> including OMAP343x.
>
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
>
> ---
> include/asm-arm/arch-omap/cpu.h | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> Index: linux-omap/include/asm-arm/arch-omap/cpu.h
> ===================================================================
> --- linux-omap.orig/include/asm-arm/arch-omap/cpu.h 2007-11-23 17:46:16.000000000 -0700
> +++ linux-omap/include/asm-arm/arch-omap/cpu.h 2007-11-28 17:59:03.000000000 -0700
> @@ -122,6 +122,7 @@
> #define cpu_is_omap24xx() 0
> #define cpu_is_omap242x() 0
> #define cpu_is_omap243x() 0
> +#define cpu_is_omap34xx() 0
> #define cpu_is_omap343x() 0
>
> #if defined(MULTI_OMAP1)
> @@ -160,9 +161,9 @@
> # endif
> # if defined(CONFIG_ARCH_OMAP34XX)
> # undef cpu_is_omap34xx
> +# undef cpu_is_omap343x
> # define cpu_is_omap34xx() 1
> -# else
> -# define cpu_is_omap34xx() 0
> +# define cpu_is_omap343x() is_omap343x()
> # endif
> #endif
Just for reference, this is already applied in the later cpu.h patch.
Regards,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-05 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 1:20 [PATCH] Fix cpu_is_omap343x() Paul Walmsley
2007-12-05 23:10 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox