/* * This file is subject to the terms and conditions of the GNU General * Public License. See the file "COPYING" in the main directory of this * archive for more details. * * Copyright (C) 2000 - 2001 by Kanoj Sarcar (kanoj@sgi.com) * Copyright (C) 2000 - 2001 by Silicon Graphics, Inc.
*/ #include <linux/init.h> #include <linux/sched.h> #include <linux/sched/task_stack.h> #include <linux/topology.h> #include <linux/nodemask.h>
/* * Launch a slave into smp_bootstrap(). It doesn't take an argument, and we * set sp to the kernel stack of the newly created idle process, gp to the proc * struct so that current_thread_info() will work.
*/ staticint ip27_boot_secondary(int cpu, struct task_struct *idle)
{ unsignedlong gp = (unsignedlong)task_thread_info(idle); unsignedlong sp = __KSTK_TOS(idle);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.