mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
Thomas Richter <[email protected]> reported a double put on the cpumap for the placeholder core PMU: https://lore.kernel.org/lkml/[email protected]/ Requiring the caller to get the cpumap is not how these things are usually done, switch cpu_map__online to do the get and then fix up any use cases where a put is needed. Signed-off-by: Ian Rogers <[email protected]> Tested-by: Thomas Richter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>