* [merged mm-nonmm-stable] cpumask-update-cpumask_next_wrap-signature.patch removed from -mm tree
@ 2022-07-18 0:32 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-07-18 0:32 UTC (permalink / raw)
To: mm-commits, yury.norov, vschneid, tglx, peterz, mingo, hpa,
gregkh, elver, dave.hansen, bp, andriy.shevchenko, sander, akpm
The quilt patch titled
Subject: cpumask: update cpumask_next_wrap() signature
has been removed from the -mm tree. Its filename was
cpumask-update-cpumask_next_wrap-signature.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Sander Vanheule <sander@svanheule.net>
Subject: cpumask: update cpumask_next_wrap() signature
Date: Sat, 2 Jul 2022 18:08:28 +0200
The extern specifier is not needed for this declaration, so drop it. The
function also depends only on the input parameters, and has no side
effects, so it can be marked __pure like other functions in cpumask.h.
Link: https://lkml.kernel.org/r/72ab755695b74bb5fbaa756ae4c0edd708d172f1.1656777646.git.sander@svanheule.net
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Marco Elver <elver@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/cpumask.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/cpumask.h~cpumask-update-cpumask_next_wrap-signature
+++ a/include/linux/cpumask.h
@@ -229,7 +229,7 @@ int cpumask_any_distribute(const struct
(cpu) = cpumask_next_zero((cpu), (mask)), \
(cpu) < nr_cpu_ids;)
-extern int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap);
+int __pure cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap);
/**
* for_each_cpu_wrap - iterate over every cpu in a mask, starting at a specified location
_
Patches currently in -mm which might be from sander@svanheule.net are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-18 0:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 0:32 [merged mm-nonmm-stable] cpumask-update-cpumask_next_wrap-signature.patch removed from -mm tree Andrew Morton
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.