commit | 44c47feb9edc7854bf3cfa2e3d843e90fc969b3a | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 04 14:31:25 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 04 14:31:25 2008 +0200 |
tree | 2724f2d5bf5e82ffd2ca8ce1994ef93b1ac23b1a | |
parent | d0b18cfc4849cfbf4944d17e810b25d61920daed [diff] [blame] |
Add write barriers And enable them in solarisaio, then it should be safe to use the signal driven IO "interrupts". Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/arch/arch-s390.h b/arch/arch-s390.h index c4ec1d1..dfb7899 100644 --- a/arch/arch-s390.h +++ b/arch/arch-s390.h
@@ -14,5 +14,6 @@ #define nop asm volatile ("diag 0,0,68" : : : "memory") #define read_barrier() asm volatile("bcr 15,0" : : : "memory") +#define write_barrier() asm volatile("bcr 15,0" : : : "memory") #endif