Commit 6fdae1da authored by Tiwei Bie's avatar Tiwei Bie Committed by Johannes Berg

um: Remove unused ncpus variable

It's no longer used. And uml_ncpus_setup doesn't exist anymore.
Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20240527134024.1539848-2-tiwei.btw@antgroup.comSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 1cf855de
......@@ -13,7 +13,6 @@ struct siginfo;
extern int uml_exitcode;
extern int ncpus;
extern int kmalloc_ok;
#define UML_ROUND_UP(addr) \
......
......@@ -126,9 +126,6 @@ unsigned long uml_reserved; /* Also modified in mem_init */
unsigned long start_vm;
unsigned long end_vm;
/* Set in uml_ncpus_setup */
int ncpus = 1;
/* Set in early boot */
static int have_root __initdata;
static int have_console __initdata;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment