login
Header Space

 
 

Re: linux-next: Tree for March 27

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Stephen Rothwell <sfr@...>, <linux-next@...>, LKML <linux-kernel@...>
Date: Thursday, March 27, 2008 - 7:32 am

On Thu, 27 Mar 2008 12:47:45 +0200
Adrian Bunk <bunk@kernel.org> wrote:


Hmm...that must be a pretty ancient toolchain. In any case, the patch
below should fix it. The commit being reverted is not in mainline, so
I'll probably just drop both of them next time I rebase.

FWIW, a more recent toolchain is available here:

http://avr32linux.org/twiki/bin/view/Main/BinutilsPatches
http://avr32linux.org/twiki/bin/view/Main/GccPatches

Haavard

From: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Date: Thu, 27 Mar 2008 12:23:07 +0100
Subject: [PATCH] Revert "avr32: Use better asm constraint in prefetch()"

This reverts commit e153fa1406b68460e0a8e498a2b83d50584cc40a.

This commit caused build breakage with some old 4.0.2-based gcc.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
---
 include/asm-avr32/processor.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-avr32/processor.h b/include/asm-avr32/processor.h
index 2abd3de..49a88f5 100644
--- a/include/asm-avr32/processor.h
+++ b/include/asm-avr32/processor.h
@@ -169,7 +169,7 @@ extern void show_stack_log_lvl(struct task_struct *tsk, unsigned long sp,
 static inline void prefetch(const void *x)
 {
 	const char *c = x;
-	asm volatile("pref %0" : : "RKs16"(*c));
+	asm volatile("pref %0" : : "r"(c));
 }
 #define PREFETCH_STRIDE	L1_CACHE_BYTES
 
-- 
1.5.4.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for March 27, Stephen Rothwell, (Thu Mar 27, 3:33 am)
Re: linux-next: Tree for March 27, Greg KH, (Thu Mar 27, 10:45 am)
Re: linux-next: Tree for March 27, Stephen Rothwell, (Fri Mar 28, 12:53 am)
Re: linux-next: Tree for March 27, Greg KH, (Fri Mar 28, 4:27 pm)
Re: linux-next: Tree for March 27, Stephen Rothwell, (Fri Mar 28, 11:56 pm)
Re: linux-next: Tree for March 27, Haavard Skinnemoen, (Thu Mar 27, 5:42 am)
Re: linux-next: Tree for March 27, Stephen Rothwell, (Thu Mar 27, 6:29 pm)
Re: linux-next: Tree for March 27, Adrian Bunk, (Thu Mar 27, 6:47 am)
Re: linux-next: Tree for March 27, Haavard Skinnemoen, (Thu Mar 27, 7:32 am)
Re: linux-next: Tree for March 27, Adrian Bunk, (Thu Mar 27, 7:54 am)
Re: linux-next: Tree for March 27, Jan Dittmer, (Thu Mar 27, 8:54 am)
Re: linux-next: Tree for March 27, Haavard Skinnemoen, (Thu Mar 27, 9:31 am)
Re: linux-next: Tree for March 27, Adrian Bunk, (Thu Mar 27, 9:22 am)
Re: linux-next: Tree for March 27, Haavard Skinnemoen, (Thu Mar 27, 8:11 am)
[BUILD_FAILURE] linux-next: Tree for March 27, Kamalesh Babulal, (Thu Mar 27, 4:49 am)
speck-geostationary