diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2008-07-10 22:03:27 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2008-07-10 22:03:27 +0000 |
commit | dfe42ba59c09b650ed80503fb4c913752907a7a9 (patch) | |
tree | e1ed969b2778d33ddf6da892a35af0f0fa4d344a /c/src/lib/libcpu/powerpc/mpc6xx | |
parent | 2008-07-10 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-dfe42ba59c09b650ed80503fb4c913752907a7a9.tar.bz2 |
2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/pte121.c: use general "memory" clobber
rather than memory input operand in inline assembly
("m" doesn't do what the manual says; see discussion
on gcc mailing list around 2008/3/30)
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c index 2878cc6918..3436256594 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c +++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c @@ -540,9 +540,9 @@ triv121PgTblMap (Triv121PgTbl pt, uint32_t flags; rtems_interrupt_disable (flags); /* order setting 'v' after writing everything else */ - asm volatile ("eieio"::"m"(*pte)); + asm volatile ("eieio":::"memory"); pte->v = 1; - asm volatile ("sync"::"m"(*pte)); + asm volatile ("sync":::"memory"); rtems_interrupt_enable (flags); } else { pte->v = 1; |