Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178931
b: refs/heads/master
c: 129182e
h: refs/heads/master
i:
  178929: 0d1a62b
  178927: ec8c0f9
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jan 11, 2010
1 parent 38a6fc2 commit 68ebdd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 8767ba2796a1c894e6d9524584a26a8224f0543d
refs/heads/master: 129182e5626972ac0df85d43a36dd46ad61c64e1
4 changes: 3 additions & 1 deletion trunk/mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1271,14 +1271,16 @@ static void pcpu_reclaim(struct work_struct *work)
*/
void free_percpu(void *ptr)
{
void *addr = __pcpu_ptr_to_addr(ptr);
void *addr;
struct pcpu_chunk *chunk;
unsigned long flags;
int off;

if (!ptr)
return;

addr = __pcpu_ptr_to_addr(ptr);

spin_lock_irqsave(&pcpu_lock, flags);

chunk = pcpu_chunk_addr_search(addr);
Expand Down

0 comments on commit 68ebdd1

Please sign in to comment.