summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/xchg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/xchg.h')
-rw-r--r--arch/alpha/include/asm/xchg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/include/asm/xchg.h b/arch/alpha/include/asm/xchg.h
index 1d1b436fbff2..0ca9724597c1 100644
--- a/arch/alpha/include/asm/xchg.h
+++ b/arch/alpha/include/asm/xchg.h
@@ -1,10 +1,10 @@
-#ifndef _ALPHA_ATOMIC_H
+#ifndef _ALPHA_CMPXCHG_H
#error Do not include xchg.h directly!
#else
/*
* xchg/xchg_local and cmpxchg/cmpxchg_local share the same code
* except that local version do not have the expensive memory barrier.
- * So this file is included twice from asm/system.h.
+ * So this file is included twice from asm/cmpxchg.h.
*/
/*
OpenPOWER on IntegriCloud