mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
818b667ba5
This constant hasn't been used since before the git era (2.6.12) and thus can be dropped. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Richard Weinberger <richard@nod.at> Cc: Hirokazu Takata <takata@linux-m32r.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
33 lines
504 B
C
33 lines
504 B
C
#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
|