Skip to content

Commit

Permalink
[PATCH] fix alpha breakage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ivan Kokshaysky authored and Linus Torvalds committed Oct 30, 2005
1 parent 4b8f573 commit 63f324c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-alpha/barrier.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef __BARRIER_H
#define __BARRIER_H

#include <asm/compiler.h>

#define mb() \
__asm__ __volatile__("mb": : :"memory")

Expand Down

0 comments on commit 63f324c

Please sign in to comment.