Skip to content

Commit

Permalink
x86_64: wbinvd macro fix
Browse files Browse the repository at this point in the history
Too many semicolons in this macro.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Jul 22, 2007
1 parent c4d198d commit 7113302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-x86_64/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static inline void write_cr4(unsigned long val)
#define stts() write_cr0(8 | read_cr0())

#define wbinvd() \
__asm__ __volatile__ ("wbinvd": : :"memory");
__asm__ __volatile__ ("wbinvd": : :"memory")

#endif /* __KERNEL__ */

Expand Down

0 comments on commit 7113302

Please sign in to comment.