process.c (7e4d960993331e92567f0180e45322a93e6780ba) | process.c (bd2f55361f18347e890d52ff9cfd8895455ec11b) |
---|---|
1/* 2 * This file handles the architecture dependent parts of process handling. 3 * 4 * Copyright IBM Corp. 1999,2009 5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>, 6 * Hartmut Penner <hp@de.ibm.com>, 7 * Denis Joseph Barrow, 8 */ --- 83 unchanged lines hidden (view full) --- 92 tick_nohz_idle_enter(); 93 rcu_idle_enter(); 94 while (!need_resched() && !test_thread_flag(TIF_MCCK_PENDING)) 95 default_idle(); 96 rcu_idle_exit(); 97 tick_nohz_idle_exit(); 98 if (test_thread_flag(TIF_MCCK_PENDING)) 99 s390_handle_mcck(); | 1/* 2 * This file handles the architecture dependent parts of process handling. 3 * 4 * Copyright IBM Corp. 1999,2009 5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>, 6 * Hartmut Penner <hp@de.ibm.com>, 7 * Denis Joseph Barrow, 8 */ --- 83 unchanged lines hidden (view full) --- 92 tick_nohz_idle_enter(); 93 rcu_idle_enter(); 94 while (!need_resched() && !test_thread_flag(TIF_MCCK_PENDING)) 95 default_idle(); 96 rcu_idle_exit(); 97 tick_nohz_idle_exit(); 98 if (test_thread_flag(TIF_MCCK_PENDING)) 99 s390_handle_mcck(); |
100 preempt_enable_no_resched(); 101 schedule(); 102 preempt_disable(); | 100 schedule_preempt_disabled(); |
103 } 104} 105 106extern void __kprobes kernel_thread_starter(void); 107 108asm( 109 ".section .kprobes.text, \"ax\"\n" 110 ".global kernel_thread_starter\n" --- 251 unchanged lines hidden --- | 101 } 102} 103 104extern void __kprobes kernel_thread_starter(void); 105 106asm( 107 ".section .kprobes.text, \"ax\"\n" 108 ".global kernel_thread_starter\n" --- 251 unchanged lines hidden --- |