diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /include/asm-sparc64/smp.h | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'include/asm-sparc64/smp.h')
-rw-r--r-- | include/asm-sparc64/smp.h | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/include/asm-sparc64/smp.h b/include/asm-sparc64/smp.h index 53121ff1c..1a07cd850 100644 --- a/include/asm-sparc64/smp.h +++ b/include/asm-sparc64/smp.h @@ -36,28 +36,18 @@ struct cpuinfo_sparc { unsigned long irq_count; unsigned int multiplier; unsigned int counter; - unsigned long last_tlbversion_seen; unsigned long pgcache_size; + unsigned long pgdcache_size; /* Dcache line 2 */ unsigned long *pgd_cache; - unsigned long *pmd_cache; unsigned long *pte_cache; unsigned long udelay_val; + unsigned long dummy; }; extern struct cpuinfo_sparc cpu_data[NR_CPUS]; -struct klock_info { - unsigned char kernel_flag; - unsigned char akp; -}; - -extern struct klock_info klock_info; - -#define KLOCK_HELD 0xff -#define KLOCK_CLEAR 0x00 - /* * Private routines/data */ @@ -95,18 +85,15 @@ extern __inline__ int hard_smp_processor_id(void) extern void smp_message_pass(int target, int msg, unsigned long data, int wait); +/* As idle task checks need_resched in a tight loop, it is not necessary to + wake it up. -jj */ +#define smp_send_reschedule(cpu) do {} while (0) + #endif /* !(__ASSEMBLY__) */ #define PROC_CHANGE_PENALTY 20 #else /* !(__SMP__) */ -#ifndef __ASSEMBLY__ -extern __inline__ int cpu_logical_map(int cpu) -{ - return cpu; -} -#endif -#endif /* !(__SMP__) */ #define NO_PROC_ID 0xFF |