git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-s390
/
smp.h
diff --git
a/include/asm-s390/smp.h
b/include/asm-s390/smp.h
index
444dae5
..
7097c96
100644
(file)
--- a/
include/asm-s390/smp.h
+++ b/
include/asm-s390/smp.h
@@
-10,7
+10,6
@@
#ifndef __ASM_SMP_H
#define __ASM_SMP_H
#ifndef __ASM_SMP_H
#define __ASM_SMP_H
-#include <linux/config.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/bitops.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/bitops.h>
@@
-19,6
+18,7
@@
#include <asm/lowcore.h>
#include <asm/sigp.h>
#include <asm/lowcore.h>
#include <asm/sigp.h>
+#include <asm/ptrace.h>
/*
s390 specific smp.c headers
/*
s390 specific smp.c headers
@@
-57,7
+57,7
@@
static inline __u16 hard_smp_processor_id(void)
{
__u16 cpu_address;
{
__u16 cpu_address;
-
__asm__ ("stap %0\n
" : "=m" (cpu_address));
+
asm volatile("stap %0
" : "=m" (cpu_address));
return cpu_address;
}
return cpu_address;
}
@@
-102,10
+102,17
@@
smp_call_function_on(void (*func) (void *info), void *info,
func(info);
return 0;
}
func(info);
return 0;
}
+
+static inline void smp_send_stop(void)
+{
+ /* Disable all interrupts/machine checks */
+ __load_psw_mask(PSW_KERNEL_BITS & ~PSW_MASK_MCHECK);
+}
+
#define smp_cpu_not_running(cpu) 1
#define smp_get_cpu(cpu) ({ 0; })
#define smp_put_cpu(cpu) ({ 0; })
#define smp_cpu_not_running(cpu) 1
#define smp_get_cpu(cpu) ({ 0; })
#define smp_put_cpu(cpu) ({ 0; })
-#define smp_setup_cpu_possible_map()
+#define smp_setup_cpu_possible_map()
do { } while (0)
#endif
#endif
#endif
#endif