1 /* { dg-do compile } */
2 /* { dg-require-effective-target stdint_types } */
3 /* { dg-options "-O2" } */
4 /* { dg-options "-O2 -mstrict-align" { target { powerpc*-*-linux* powerpc*-*-elf* } } } */
17 static __inline__
__attribute__((always_inline
)) int64_t
18 atomic64_read(const atomic64_t
*v
)
21 __asm__
__volatile__("" : "=r"(t
) : "m"(v
->counter
));
25 int rb_remove_pages(void *p
)
27 struct buffer_page
*blah
= (void *)((intptr_t) p
& -4);
28 return atomic64_read(&blah
->entries
);