Add a few smp_ helpers from Linux.
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 11 Apr 2018 20:47:01 +0000 (16:47 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:38:29 +0000 (14:38 -0400)
commitc24811180bf1d6726d95cbe69ffe66aec22d0f13
treeb0d0068c7044a70c49a0dbce0175f9c9741108d6
parent166e23349c647951f8530dcabf33a05b1e523073
Add a few smp_ helpers from Linux.

I'll need these for RCU - at least to keep that code a little cleaner.

From commit 569dbb88e80d ("Linux 4.13").

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/riscv/membar.h
kern/arch/x86/membar.h
scripts/spatch/linux/funcs.cocci