Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d14aada8 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: make SRCU usable in modules



Add a #include for mutex.h to allow SRCU to be more easily used in
kernel modules.

Signed-off-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent f1d507be
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@
#ifndef _LINUX_SRCU_H
#define _LINUX_SRCU_H

#include <linux/mutex.h>

struct srcu_struct_array {
	int c[2];
};