public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* frv compile error in set_pte()
@ 2006-09-03 22:06 Adrian Bunk
  2006-09-04  9:26 ` David Howells
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2006-09-03 22:06 UTC (permalink / raw)
  To: David Howells; +Cc: linux-kernel

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

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

end of thread, other threads:[~2006-09-05 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-03 22:06 frv compile error in set_pte() Adrian Bunk
2006-09-04  9:26 ` David Howells
2006-09-04 11:58   ` Adrian Bunk
2006-09-04 12:35     ` David Howells
2006-09-05 12:31     ` David Howells
2006-09-05 13:11       ` Adrian Bunk

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