Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65220
b: refs/heads/master
c: 4827bbb
h: refs/heads/master
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Sep 29, 2007
1 parent c7bf58b commit 0a7144d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bef7dc00caa7bcbff4fdb55e599e2591461fafa
refs/heads/master: 4827bbb06e4b59922c2b9bfb13ad1bf936bdebe5
5 changes: 0 additions & 5 deletions trunk/include/asm-i386/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@ static inline unsigned long get_limit(unsigned long segment)
*/


/*
* Actually only lfence would be needed for mb() because all stores done
* by the kernel should be already ordered. But keep a full barrier for now.
*/

#define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2)
#define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2)

Expand Down

0 comments on commit 0a7144d

Please sign in to comment.