aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse/include/asm-i386/smp_alt.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-2.6-xen-sparse/include/asm-i386/smp_alt.h')
-rw-r--r--linux-2.6-xen-sparse/include/asm-i386/smp_alt.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/linux-2.6-xen-sparse/include/asm-i386/smp_alt.h b/linux-2.6-xen-sparse/include/asm-i386/smp_alt.h
deleted file mode 100644
index 67307c3d33..0000000000
--- a/linux-2.6-xen-sparse/include/asm-i386/smp_alt.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef __ASM_SMP_ALT_H__
-#define __ASM_SMP_ALT_H__
-
-#include <linux/config.h>
-
-#ifdef CONFIG_SMP
-#if defined(CONFIG_SMP_ALTERNATIVES) && !defined(MODULE)
-#define LOCK \
- "6677: nop\n" \
- ".section __smp_alternatives,\"a\"\n" \
- ".long 6677b\n" \
- ".long 6678f\n" \
- ".previous\n" \
- ".section __smp_replacements,\"a\"\n" \
- "6678: .byte 1\n" \
- ".byte 1\n" \
- ".byte 0\n" \
- ".byte 1\n" \
- ".byte -1\n" \
- "lock\n" \
- "nop\n" \
- ".previous\n"
-void prepare_for_smp(void);
-void unprepare_for_smp(void);
-#else
-#define LOCK "lock ; "
-#endif
-#else
-#define LOCK ""
-#endif
-
-#endif /* __ASM_SMP_ALT_H__ */