Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 289642 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +5 lines)
Line  Link Here
--
1
ports/sysdeps/unix/sysv/linux/alpha/ioperm.c |    8 ++++----
ports/sysdeps/unix/sysv/linux/alpha/ioperm.c |    8 ++++----
2
1 file changed, 4 insertions(+), 4 deletions(-)
1
1 file changed, 4 insertions(+), 4 deletions(-)
3
-- a/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
2
++ b/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
Lines 178-190 Link Here
178
static inline void
178
static inline void
179
stb_mb(unsigned char val, unsigned long addr)
179
stb_mb(unsigned char val, unsigned long addr)
180
{
180
{
181
  __asm__("stb %1,%0; mb" : "=m"(*(vucp)addr) : "r"(val));
181
  __asm__(".arch ev6; stb %1,%0; mb" : "=m"(*(vucp)addr) : "r"(val));
182
}
182
}
183
183
184
static inline void
184
static inline void
185
stw_mb(unsigned short val, unsigned long addr)
185
stw_mb(unsigned short val, unsigned long addr)
186
{
186
{
187
  __asm__("stw %1,%0; mb" : "=m"(*(vusp)addr) : "r"(val));
187
  __asm__(".arch ev6; stw %1,%0; mb" : "=m"(*(vusp)addr) : "r"(val));
188
}
188
}
189
189
190
static inline void
190
static inline void
Lines 356-362 Link Here
356
  unsigned long int addr = dense_port_to_cpu_addr (port);
356
  unsigned long int addr = dense_port_to_cpu_addr (port);
357
  unsigned char r;
357
  unsigned char r;
358
358
359
  __asm__ ("ldbu %0,%1" : "=r"(r) : "m"(*(vucp)addr));
359
  __asm__ (".arch ev6; ldbu %0,%1" : "=r"(r) : "m"(*(vucp)addr));
360
  return r;
360
  return r;
361
}
361
}
362
362
Lines 366-372 Link Here
366
  unsigned long int addr = dense_port_to_cpu_addr (port);
366
  unsigned long int addr = dense_port_to_cpu_addr (port);
367
  unsigned short r;
367
  unsigned short r;
368
368
369
  __asm__ ("ldwu %0,%1" : "=r"(r) : "m"(*(vusp)addr));
369
  __asm__ (".arch ev6; ldwu %0,%1" : "=r"(r) : "m"(*(vusp)addr));
370
  return r;
370
  return r;
371
}
371
}
372
372

Return to bug 289642