Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176330
b: refs/heads/master
c: c0f68c2
h: refs/heads/master
v: v3
  • Loading branch information
Xiao Guangrong authored and Linus Torvalds committed Dec 15, 2009
1 parent a1543c8 commit 3d96950
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4eb174bee6f8623fed1af0072f1bebfc3b513a52
refs/heads/master: c0f68c2fab4898bcc4671a8fb941f428856b4ad5
3 changes: 1 addition & 2 deletions trunk/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void generic_exec_single(int cpu, struct call_single_data *data, int wait)
void generic_smp_call_function_interrupt(void)
{
struct call_function_data *data;
int cpu = get_cpu();
int cpu = smp_processor_id();

/*
* Shouldn't receive this interrupt on a cpu that is not yet online.
Expand Down Expand Up @@ -212,7 +212,6 @@ void generic_smp_call_function_interrupt(void)
csd_unlock(&data->csd);
}

put_cpu();
}

/*
Expand Down

0 comments on commit 3d96950

Please sign in to comment.