[PATCH] arm: spinlock: const qualify read-only functions

Arnd Bergmann arnd at arndb.de
Thu Oct 29 14:51:00 PDT 2015


On Wednesday 28 October 2015 12:44:54 Ian Coolidge wrote:
> This allows assert_spin_locked() to be used against
> spinlocks that are const qualified.
> 
> Signed-off-by: Ian Coolidge <icoolidge at google.com>
> 

Can you give an example in the changelog where this might
be useful? Constant spinlocks seem counterintuitive.

	Arnd



More information about the linux-arm-kernel mailing list