概要
- init/main.cにて定義
- 概要を記述
引数
- 変数
- 説明
実装
/*
* Setup routine for controlling SMP activation * * Command-line option of "nosmp" or "maxcpus=0" will disable SMP * activation entirely (the MPS table probe still happens, though). * * Command-line option of "maxcpus=<NUM>", where <NUM> is an integer * greater than 0, limits the maximum number of CPUs activated in * SMP mode to <NUM>. */
static int __init nosmp(char *str)
{
{
max_cpus = 0; return 1;
}