Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8109f028 authored by Olav Haugan's avatar Olav Haugan
Browse files

cpumask: Correctly report CPU as not isolated in UP case



When we have only 1 CPU in the system always report a CPU as not
isolated.

Change-Id: I009b3e7c2499da07b167c603107b1c50b096c6b6
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent 74e7bd58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ extern const struct cpumask *const cpu_isolated_mask;
#define cpu_possible(cpu)	((cpu) == 0)
#define cpu_present(cpu)	((cpu) == 0)
#define cpu_active(cpu)		((cpu) == 0)
#define cpu_isolated(cpu)	((cpu) == 0)
#define cpu_isolated(cpu)	((cpu) != 0)
#endif

/* verify cpu argument to cpumask_* operators */