mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge branch 'master' into percpu
This commit is contained in:
commit
ab386128f2
1258 changed files with 33306 additions and 12854 deletions
|
|
@ -1269,7 +1269,7 @@ 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;
|
||||
|
|
@ -1277,6 +1277,8 @@ void free_percpu(void *ptr)
|
|||
if (!ptr)
|
||||
return;
|
||||
|
||||
addr = __pcpu_ptr_to_addr(ptr);
|
||||
|
||||
spin_lock_irqsave(&pcpu_lock, flags);
|
||||
|
||||
chunk = pcpu_chunk_addr_search(addr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue