Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Fix test failures due to movement of cpu_number.
cpu_number has been merged into pcpu_hot object, for x86, in newer (v6.2+) kernels. For some archs like aarch64, it still exists as per-cpu variable. Since we just need a per-cpu address for this test, use per-cpu runqueues. These have been existing as per-cpu varibale for long time and even if this changes in future the change will be architecture independent, so we would not have to worry about test passing for one arch and failing for other. LSE-368. Signed-off-by: Imran Khan <[email protected]>
- Loading branch information