|
@@ -160,7 +160,7 @@ bad_area:
|
|
|
if (exception_trace && printk_ratelimit())
|
|
|
printk("%s%s[%d]: segfault at %08lx pc %08lx "
|
|
|
"sp %08lx ecr %lu\n",
|
|
|
- is_init(tsk) ? KERN_EMERG : KERN_INFO,
|
|
|
+ is_global_init(tsk) ? KERN_EMERG : KERN_INFO,
|
|
|
tsk->comm, tsk->pid, address, regs->pc,
|
|
|
regs->sp, ecr);
|
|
|
_exception(SIGSEGV, regs, code, address);
|
|
@@ -209,7 +209,7 @@ no_context:
|
|
|
*/
|
|
|
out_of_memory:
|
|
|
up_read(&mm->mmap_sem);
|
|
|
- if (is_init(current)) {
|
|
|
+ if (is_global_init(current)) {
|
|
|
yield();
|
|
|
down_read(&mm->mmap_sem);
|
|
|
goto survive;
|
|
@@ -231,7 +231,7 @@ do_sigbus:
|
|
|
if (exception_trace)
|
|
|
printk("%s%s[%d]: bus error at %08lx pc %08lx "
|
|
|
"sp %08lx ecr %lu\n",
|
|
|
- is_init(tsk) ? KERN_EMERG : KERN_INFO,
|
|
|
+ is_global_init(tsk) ? KERN_EMERG : KERN_INFO,
|
|
|
tsk->comm, tsk->pid, address, regs->pc,
|
|
|
regs->sp, ecr);
|
|
|
|