Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259178
b: refs/heads/master
c: 50d2a42
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Jul 22, 2011
1 parent 7f60154 commit 747d4fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5adfd346e48c7742bad179f9e959d15afbf5f95e
refs/heads/master: 50d2a4223bb875d1e3a7ee97d40dd03bf31ce1b7
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,18 @@ static inline void do_softirq_onstack(void)
curtp = current_thread_info();
irqtp = softirq_ctx[smp_processor_id()];
irqtp->task = curtp->task;
irqtp->flags = 0;
current->thread.ksp_limit = (unsigned long)irqtp +
_ALIGN_UP(sizeof(struct thread_info), 16);
call_do_softirq(irqtp);
current->thread.ksp_limit = saved_sp_limit;
irqtp->task = NULL;

/* Set any flag that may have been set on the
* alternate stack
*/
if (irqtp->flags)
set_bits(irqtp->flags, &curtp->flags);
}

void do_softirq(void)
Expand Down

0 comments on commit 747d4fe

Please sign in to comment.