Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73401
b: refs/heads/master
c: a5fbb6d
h: refs/heads/master
i:
  73399: 7a98f08
v: v3
  • Loading branch information
Ingo Molnar committed Nov 9, 2007
1 parent 7448a23 commit c8404b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 0492007ed9b53f6a2a2f983910d0fe7c97b09822
refs/heads/master: a5fbb6d1064be885d2a6b82f625186753cf74848
7 changes: 5 additions & 2 deletions trunk/include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,12 @@ void smp_prepare_boot_cpu(void);
* These macros fold the SMP functionality into a single CPU system
*/
#define raw_smp_processor_id() 0
static inline int up_smp_call_function(void)
static inline int up_smp_call_function(void (*func)(void *), void *info)
{
return 0;
}
#define smp_call_function(func,info,retry,wait) (up_smp_call_function())
#define smp_call_function(func, info, retry, wait) \
(up_smp_call_function(func, info))
#define on_each_cpu(func,info,retry,wait) \
({ \
local_irq_disable(); \
Expand All @@ -107,6 +108,8 @@ static inline void smp_send_reschedule(int cpu) { }
local_irq_enable(); \
0; \
})
#define smp_call_function_mask(mask, func, info, wait) \
(up_smp_call_function(func, info))

#endif /* !SMP */

Expand Down

0 comments on commit c8404b7

Please sign in to comment.