public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH] Fix m68k's asm/swab.h for ColdFire
@ 2009-10-02  9:15 Maxim Kuvyrkov
  2009-10-26 14:56 ` Maxim Kuvyrkov
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Kuvyrkov @ 2009-10-02  9:15 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-m68k

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

This is a resubmit of the last portion of this patch 
(http://marc.info/?l=linux-m68k&m=123324772614580&w=2) that didn't make 
it into the sources.

Merging of uClinux and Linux headers brought in the code from the 
uClinux version, but the condition in the #elif was set wrong.

This patch fixes the #elif condition.

Thanks,

--
Maxim K.
CodeSourcery

[-- Attachment #2: 0004-Fix-m68k-s-asm-swab.h-for-ColdFire.patch --]
[-- Type: text/plain, Size: 877 bytes --]

>From c57261c33b9dbe953830698c1c0dcdbbf71cb28d Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov <maxim@codesourcery.com>
Date: Fri, 2 Oct 2009 12:32:18 +0400
Subject: [PATCH 4/5] Fix m68k's asm/swab.h for ColdFire

The following patch makes asm/swab.h compatible with ColdFire ISA_B CPUs.

Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com>
---
 arch/m68k/include/asm/swab.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/m68k/include/asm/swab.h b/arch/m68k/include/asm/swab.h
index 5b754aa..b7b37a4 100644
--- a/arch/m68k/include/asm/swab.h
+++ b/arch/m68k/include/asm/swab.h
@@ -14,7 +14,7 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
 }
 
 #define __arch_swab32 __arch_swab32
-#elif !defined(__uClinux__)
+#elif !defined(__mcoldfire__)
 
 static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
 {
-- 
1.6.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix m68k's asm/swab.h for ColdFire
  2009-10-02  9:15 [PATCH] Fix m68k's asm/swab.h for ColdFire Maxim Kuvyrkov
@ 2009-10-26 14:56 ` Maxim Kuvyrkov
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Kuvyrkov @ 2009-10-26 14:56 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-m68k

Maxim Kuvyrkov wrote:
> This is a resubmit of the last portion of this patch 
> (http://marc.info/?l=linux-m68k&m=123324772614580&w=2) that didn't make 
> it into the sources.
> 
> Merging of uClinux and Linux headers brought in the code from the 
> uClinux version, but the condition in the #elif was set wrong.
> 
> This patch fixes the #elif condition.

Ping.

This patch is quite simple and it fixes build failures of a number of 
userspace packages.

-- 
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-26 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02  9:15 [PATCH] Fix m68k's asm/swab.h for ColdFire Maxim Kuvyrkov
2009-10-26 14:56 ` Maxim Kuvyrkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox