--- - branch: MAIN date: Wed Feb 12 06:05:46 UTC 2020 files: - new: '1.20' old: '1.19' path: src/sys/arch/aarch64/include/cpu.h pathrev: src/sys/arch/aarch64/include/cpu.h@1.20 type: modified id: 20200212T060546Z.08450d73e799cb5714de59e03bea52b30cd76c4b log: | Define the MULTIPROCESSOR cpu_number() for modules too. Modules should work whether the main kernel is multiprocessor or not. In particular, dtrace should not think cpu_number() is 0 while cpu_index(curcpu()) and curcpu()->ci_index are nonzero, leading to rather spectacularly bogus results... module: src subject: 'CVS commit: src/sys/arch/aarch64/include' unixtime: '1581487546' user: riastradh