summaryrefslogtreecommitdiff
path: root/arch/um/include/asm/smp.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-18 21:42:54 +0100
committerRichard Weinberger <richard@nod.at>2015-04-13 21:00:58 +0200
commit28fa468f53163bc0b867b4cc75a9e36e7ed4dbbd (patch)
tree5421b0046c8143797630da85db9a9b72c488f9f2 /arch/um/include/asm/smp.h
parentd0b5e15f0c0fdd759dd3dd48dc2dc2e7199e0da0 (diff)
um: Remove broken SMP support
At times where UML used the TT mode to operate it had kind of SMP support. It never got finished nor was stable. Let's rip out that cruft and stop confusing developers which do tree-wide SMP cleanups. If someone wants SMP support UML it has do be done from scratch. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/asm/smp.h')
-rw-r--r--arch/um/include/asm/smp.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/um/include/asm/smp.h b/arch/um/include/asm/smp.h
index e4507938d8cf..9c3be355ed01 100644
--- a/arch/um/include/asm/smp.h
+++ b/arch/um/include/asm/smp.h
@@ -1,32 +1,6 @@
#ifndef __UM_SMP_H
#define __UM_SMP_H
-#ifdef CONFIG_SMP
-
-#include <linux/bitops.h>
-#include <asm/current.h>
-#include <linux/cpumask.h>
-
-#define raw_smp_processor_id() (current_thread->cpu)
-
-#define cpu_logical_map(n) (n)
-#define cpu_number_map(n) (n)
-extern int hard_smp_processor_id(void);
-#define NO_PROC_ID -1
-
-extern int ncpus;
-
-
-static inline void smp_cpus_done(unsigned int maxcpus)
-{
-}
-
-extern struct task_struct *idle_threads[NR_CPUS];
-
-#else
-
#define hard_smp_processor_id() 0
#endif
-
-#endif