Re: [PATCH] Move cpu_down and other functions inside SMP ifdef

2023-01-06 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mer. 04 janv. 2023 22:45:45 -0500, a ecrit: > cpu_down is shown as not required when disabling SMP so moving it inside > NCPUS > 1 to eliminate the warning. Note that the diff ended up looking > a bit different due the way functions are laid out. > --- > kern/mach

[PATCH] Move cpu_down and other functions inside SMP ifdef

2023-01-04 Thread Flavio Cruz
cpu_down is shown as not required when disabling SMP so moving it inside NCPUS > 1 to eliminate the warning. Note that the diff ended up looking a bit different due the way functions are laid out. --- kern/machine.c | 119 --- kern/processor.h | 2 -