diff for duplicates of <20190408080950.GA15239@kadam> diff --git a/a/1.txt b/N1/1.txt index 9f2b4f6..dc11932 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -41,11 +41,11 @@ index 147bdec42215..f371e44cb5ff 100644 #else @@ -111,6 +113,7 @@ extern struct cpumask __cpu_active_mask; #define num_active_cpus() 1U - #define cpu_online(cpu) ((cpu) = 0) - #define cpu_possible(cpu) ((cpu) = 0) -+#define cpu_possible_safe(cpu) ((cpu) = 0) - #define cpu_present(cpu) ((cpu) = 0) - #define cpu_active(cpu) ((cpu) = 0) + #define cpu_online(cpu) ((cpu) == 0) + #define cpu_possible(cpu) ((cpu) == 0) ++#define cpu_possible_safe(cpu) ((cpu) == 0) + #define cpu_present(cpu) ((cpu) == 0) + #define cpu_active(cpu) ((cpu) == 0) #endif @@ -344,6 +347,28 @@ static inline int cpumask_test_cpu(int cpu, const struct cpumask *cpumask) return test_bit(cpumask_check(cpu), cpumask_bits((cpumask))); diff --git a/a/content_digest b/N1/content_digest index a65fa76..36f7104 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190404104527.GX4038@hirez.programming.kicks-ass.net\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH v2 1/2] cpumask: Introduce possible_cpu_safe()\0" - "Date\0Mon, 08 Apr 2019 08:09:50 +0000\0" + "Date\0Mon, 8 Apr 2019 11:09:50 +0300\0" "To\0David S. Miller <davem@davemloft.net>" Alexander Viro <viro@zeniv.linux.org.uk> " Jens Axboe <axboe@kernel.dk>\0" @@ -57,11 +57,11 @@ " #else\n" "@@ -111,6 +113,7 @@ extern struct cpumask __cpu_active_mask;\n" " #define num_active_cpus()\t1U\n" - " #define cpu_online(cpu)\t\t((cpu) = 0)\n" - " #define cpu_possible(cpu)\t((cpu) = 0)\n" - "+#define cpu_possible_safe(cpu) ((cpu) = 0)\n" - " #define cpu_present(cpu)\t((cpu) = 0)\n" - " #define cpu_active(cpu)\t\t((cpu) = 0)\n" + " #define cpu_online(cpu)\t\t((cpu) == 0)\n" + " #define cpu_possible(cpu)\t((cpu) == 0)\n" + "+#define cpu_possible_safe(cpu) ((cpu) == 0)\n" + " #define cpu_present(cpu)\t((cpu) == 0)\n" + " #define cpu_active(cpu)\t\t((cpu) == 0)\n" " #endif\n" "@@ -344,6 +347,28 @@ static inline int cpumask_test_cpu(int cpu, const struct cpumask *cpumask)\n" " \treturn test_bit(cpumask_check(cpu), cpumask_bits((cpumask)));\n" @@ -95,4 +95,4 @@ "-- \n" 2.17.1 -a9ccb9f3f26f9aba50cba9d8a349939b2239a99b499235524632cc843f57f549 +2d48d6f33ea499b35cf2e874e654c5248af3f5684ed974cf1210ae5f2f79b77c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.