Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42861
b: refs/heads/master
c: 83df8db
h: refs/heads/master
i:
  42859: 69e2315
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Dec 7, 2006
1 parent 13f29f5 commit e597da7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4c6c34a530b4d1c626f4ac0a884e0a9b849378c
refs/heads/master: 83df8db9e62129975fab6d800fb381faf0dfee74
7 changes: 0 additions & 7 deletions trunk/include/asm-x86_64/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,6 @@ static __inline int logical_smp_processor_id(void)
#define cpu_physical_id(cpu) x86_cpu_to_apicid[cpu]
#else
#define cpu_physical_id(cpu) boot_cpu_id
static inline int smp_call_function_single(int cpuid, void (*func) (void *info),
void *info, int retry, int wait)
{
/* Disable interrupts here? */
func(info);
return 0;
}
#endif /* !CONFIG_SMP */
#endif

7 changes: 7 additions & 0 deletions trunk/include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ static inline int up_smp_call_function(void)
static inline void smp_send_reschedule(int cpu) { }
#define num_booting_cpus() 1
#define smp_prepare_boot_cpu() do {} while (0)
static inline int smp_call_function_single(int cpuid, void (*func) (void *info),
void *info, int retry, int wait)
{
/* Disable interrupts here? */
func(info);
return 0;
}

#endif /* !SMP */

Expand Down

0 comments on commit e597da7

Please sign in to comment.