lkml.org 
[lkml]   [2008]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: linux-next: Tree for March 27
On Thu, 27 Mar 2008 12:47:45 +0200
Adrian Bunk <bunk@kernel.org> wrote:

> According to Jan's page, there's still a build error with the defconfig:
> http://l4x.org/k/?d=40450#err

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


\
 
 \ /
  Last update: 2008-03-27 12:35    [W:0.041 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site