Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136346
b: refs/heads/master
c: ce22bd9
h: refs/heads/master
v: v3
  • Loading branch information
Arjan van de Ven authored and Thomas Gleixner committed May 26, 2008
1 parent f9ad3bc commit e0d82cc
Show file tree
Hide file tree
Showing 2 changed files with 10 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: e00320875d0cc5f8099a7227b2f25fbb3231268d
refs/heads/master: ce22bd92cba0958e052cb1ce0f89f1d3a02b60a7
9 changes: 9 additions & 0 deletions trunk/arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ static inline void play_dead(void)
void cpu_idle(void)
{
current_thread_info()->status |= TS_POLLING;

#ifdef CONFIG_CC_STACKPROTECTOR
/*
* If we're the non-boot CPU, nothing set the PDA stack
* canary up for us. This is as good a place as any for
* doing that.
*/
write_pda(stack_canary, current->stack_canary);
#endif
/* endless idle loop with no priority at all */
while (1) {
tick_nohz_stop_sched_tick();
Expand Down

0 comments on commit e0d82cc

Please sign in to comment.