Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] fix alpha breakage

barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h.

Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Ivan Kokshaysky and committed by
Linus Torvalds
63f324cf 4b8f573b

+2
+2
include/asm-alpha/barrier.h
··· 1 1 #ifndef __BARRIER_H 2 2 #define __BARRIER_H 3 3 4 + #include <asm/compiler.h> 5 + 4 6 #define mb() \ 5 7 __asm__ __volatile__("mb": : :"memory") 6 8