Rev 4539 | Rev 6084 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4539 | Rev 5271 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | /* |
27 | /* |
28 | * Authors: Thomas Hellström |
28 | * Authors: Thomas Hellström |
29 | */ |
29 | */ |
Line 30... | Line 30... | ||
30 | 30 | ||
31 | #include |
- | |
32 | #include |
31 | #include |
Line 33... | Line 32... | ||
33 | #include |
32 | #include |
Line 34... | Line -... | ||
34 | - | ||
35 | extern int x86_clflush_size; |
- | |
36 | - | ||
37 | static inline void clflush(volatile void *__p) |
- | |
Line 38... | Line 33... | ||
38 | { |
33 | |
39 | asm volatile("clflush %0" : "+m" (*(volatile char*)__p)); |
34 | extern int x86_clflush_size; |
40 | } |
35 | |
41 | 36 |