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

Commit 21cf9733 authored by Olav Haugan's avatar Olav Haugan Committed by Raghavendra Rao Ananta
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>
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 711d6990
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ extern struct cpumask __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 */