Changeset 2d96f4d in mainline for kernel/arch/ia32/include/barrier.h
- Timestamp:
- 2009-02-15T15:31:35Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 76dd25b
- Parents:
- ee06f2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/barrier.h
ree06f2a r2d96f4d 59 59 } 60 60 61 #if def CONFIG_FENCES_P461 #if defined(CONFIG_FENCES_P4) 62 62 # define memory_barrier() asm volatile ("mfence\n" ::: "memory") 63 63 # define read_barrier() asm volatile ("lfence\n" ::: "memory") … … 67 67 # define write_barrier() asm volatile( "" ::: "memory"); 68 68 # endif 69 #elif CONFIG_FENCES_P369 #elif defined(CONFIG_FENCES_P3) 70 70 # define memory_barrier() cpuid_serialization() 71 71 # define read_barrier() cpuid_serialization()
Note:
See TracChangeset
for help on using the changeset viewer.