Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127635
b: refs/heads/master
c: 1a8a27c
h: refs/heads/master
i:
  127633: e7b038d
  127631: 65ee349
v: v3
  • Loading branch information
Wu Fengguang authored and Linus Torvalds committed Jan 8, 2009
1 parent 185384c commit 6472f49
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c19a28e1193a6c854738d609ae9b2fe2f6e6bea4
refs/heads/master: 1a8a27c974d0f09c61874b81bf9670f1478b649a
5 changes: 3 additions & 2 deletions trunk/arch/sparc/kernel/sun4m_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ extern int __smp4m_processor_id(void);
#define SMP_PRINTK(x)
#endif

static inline unsigned long swap(volatile unsigned long *ptr, unsigned long val)
static inline unsigned long
swap_ulong(volatile unsigned long *ptr, unsigned long val)
{
__asm__ __volatile__("swap [%1], %0\n\t" :
"=&r" (val), "=&r" (ptr) :
Expand Down Expand Up @@ -90,7 +91,7 @@ void __cpuinit smp4m_callin(void)
* to call the scheduler code.
*/
/* Allow master to continue. */
swap(&cpu_callin_map[cpuid], 1);
swap_ulong(&cpu_callin_map[cpuid], 1);

/* XXX: What's up with all the flushes? */
local_flush_cache_all();
Expand Down

0 comments on commit 6472f49

Please sign in to comment.