Commit 2b1a2a14 authored by Julia Cartwright's avatar Julia Cartwright Committed by Steven Rostedt
Browse files

locallock: provide {get,put}_locked_ptr() variants



[ Upstream commit 3d45cf23db4f76cd356ebb0aa4cdaa7d92d1a64e ]

Provide a set of locallocked accessors for pointers to per-CPU data;
this is useful for dynamically-allocated per-CPU regions, for example.

These are symmetric with the {get,put}_cpu_ptr() per-CPU accessor
variants.

Signed-off-by: default avatarJulia Cartwright <julia@ni.com>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 447e5914
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment