frv compile error in set_pte()

From: Adrian Bunk
Date: Sun Sep 03 2006 - 18:04:25 EST


I'm getting the follosing compile error in 2.6.18-rc5-mm1 (it might not
be specific to -mm):

<-- snip -->

...
CC arch/frv/mm/dma-alloc.o
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/arch/frv/mm/dma-alloc.c: In function 'consistent_alloc':
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/arch/frv/mm/dma-alloc.c:66: error: impossible constraint in 'asm'
make[2]: *** [arch/frv/mm/dma-alloc.o] Error 1

<-- snip -->

The problem is the following code in include/asm-frv/pgtable.h:

<-- snip -->

#define set_pte(pteptr, pteval) \
do { \
*(pteptr) = (pteval); \
asm volatile("dcf %M0" :: "U"(*pteptr)); \
} while(0)

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed


--
VGER BF report: H 1.45283e-06
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/