datapath: Move rcu_read_lock_held(), rcu_dereference_*() to rcupdate.h.
authorBen Pfaff <blp@nicira.com>
Mon, 24 Jan 2011 22:03:57 +0000 (14:03 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 25 Jan 2011 00:49:21 +0000 (16:49 -0800)
commit77263a25ab4025be9e8ac1ab684ffc459550b16a
tree3fc9ca8922ce7c2ceaec01423ee474a8b364218a
parent3f1a322db440dbe2f4c1c1e7b89b4e003d0759c9
datapath: Move rcu_read_lock_held(), rcu_dereference_*() to rcupdate.h.

<linux/rcupdate.h> is the normal location of these functions, so we should
not put compat code for them in <linux/rtnetlink.h>.

This caused build failures for datapath/table.c, which in later commits
uses rcu_dereference_check() and rcu_dereference_protected() but does not
need RTNL.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/include/linux/rcupdate.h [new file with mode: 0644]
datapath/linux-2.6/compat-2.6/include/linux/rtnetlink.h