Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56523
b: refs/heads/master
c: 79974a0
h: refs/heads/master
i:
  56521: 2e4ad05
  56519: a383b4e
v: v3
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed May 17, 2007
1 parent e05a5de commit 7860d30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 8317f14b60c02c69cf7f594e2aabc8a3fdc9618d
refs/heads/master: 79974a0e4c6be6e9a3717b4c5a5d5c44c36b1653
7 changes: 3 additions & 4 deletions trunk/include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Alan Cox. <alan@redhat.com>
*/

#include <linux/errno.h>

extern void cpu_idle(void);

Expand Down Expand Up @@ -99,11 +100,9 @@ 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)
void *info, int retry, int wait)
{
/* Disable interrupts here? */
func(info);
return 0;
return -EBUSY;
}

#endif /* !SMP */
Expand Down

0 comments on commit 7860d30

Please sign in to comment.