/* MN10300 Process handling code * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #include <linux/module.h> #include <linux/errno.h> #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/sched/task.h> #include <linux/sched/task_stack.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/stddef.h> #include <linux/unistd.h> #include <linux/ptrace.h> #include <linux/user.h> #include <linux/interrupt.h> #include <linux/delay.h> #include <linux/reboot.h> #include <linux/percpu.h> #include <linux/err.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/rcupdate.h> #include <linux/uaccess.h> #include <asm/pgtable.h> #include <asm/io.h> #include <asm/processor.h> #include <asm/mmu_context.h> #include <asm/fpu.h> #include <asm/reset-regs.h> #include <asm/gdb-stub.h> #include "internal.h" /* * power off function, if any */ void (*pm_power_off)(void); EXPORT_SYMBOL(pm_power_off); /* * On SMP it's slightly faster (but much more power-consuming!) * to poll the ->work.need_resched flag instead of waiting for the * cross-CPU IPI to arrive. Use this option with caution. * * tglx: No idea why this depends on HOTPLUG_CPU !?! */ #if !defined(CONFIG_SMP) || defined(CONFIG_HOTPLUG_CPU)
void arch_cpu_idle(void) { safe_halt(); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 8 | 80.00% | 1 | 33.33% |
Thomas Gleixner | 1 | 10.00% | 1 | 33.33% |
Akira Takeuchi | 1 | 10.00% | 1 | 33.33% |
Total | 10 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 32 | 100.00% | 2 | 100.00% |
Total | 32 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 17 | 100.00% | 2 | 100.00% |
Total | 17 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 17 | 100.00% | 2 | 100.00% |
Total | 17 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 8 | 53.33% | 1 | 50.00% |
Tejun Heo | 7 | 46.67% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 8 | 53.33% | 1 | 33.33% |
Jiri Slaby | 7 | 46.67% | 2 | 66.67% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Suresh B. Siddha | 18 | 62.07% | 1 | 50.00% |
David Howells | 11 | 37.93% | 1 | 50.00% |
Total | 29 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 147 | 56.98% | 2 | 40.00% |
Al Viro | 111 | 43.02% | 3 | 60.00% |
Total | 258 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 377 | 68.05% | 3 | 16.67% |
Al Viro | 111 | 20.04% | 3 | 16.67% |
Suresh B. Siddha | 19 | 3.43% | 1 | 5.56% |
Akira Takeuchi | 15 | 2.71% | 1 | 5.56% |
Tejun Heo | 10 | 1.81% | 2 | 11.11% |
Ingo Molnar | 9 | 1.62% | 3 | 16.67% |
Jiri Slaby | 7 | 1.26% | 2 | 11.11% |
Frédéric Weisbecker | 3 | 0.54% | 1 | 5.56% |
Thomas Gleixner | 2 | 0.36% | 1 | 5.56% |
Linus Torvalds | 1 | 0.18% | 1 | 5.56% |
Total | 554 | 100.00% | 18 | 100.00% |