diff for duplicates of <20190404100218.GA26946@kadam> diff --git a/a/1.txt b/N1/1.txt index 3ddfda9..8df894a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -34,11 +34,11 @@ index 147bdec42215..515179760c54 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,21 @@ 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 9007307..319fb1e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH 1/2] cpumask: Introduce possible_cpu_safe()\0" - "Date\0Thu, 04 Apr 2019 10:02:19 +0000\0" + "Date\0Thu, 4 Apr 2019 13:02:19 +0300\0" "To\0David S. Miller <davem@davemloft.net>" Alexander Viro <viro@zeniv.linux.org.uk> " Jens Axboe <axboe@kernel.dk>\0" @@ -49,11 +49,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,21 @@ static inline int cpumask_test_cpu(int cpu, const struct cpumask *cpumask)\n" " \treturn test_bit(cpumask_check(cpu), cpumask_bits((cpumask)));\n" @@ -80,4 +80,4 @@ "-- \n" 2.17.1 -2296e3848a80fe83f6ea850c7b8f4f786f109fceef424f164827af0ee8144238 +404fe4a41987329bb4952831908ebfceebb58e98e38a50daedaf844260153f90
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.