datapath: Add compatibility code for sparse annotations.
authorJesse Gross <jesse@nicira.com>
Sat, 20 Nov 2010 01:48:04 +0000 (17:48 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 13 Dec 2010 21:31:18 +0000 (13:31 -0800)
commitfb3ea74b114e7c1089dfb8851d0b5fb18aa9a6ce
tree1fc4f8a2f2264fe74874b402b130147fe5d0ea06
parent961703de9684997c273ac34ab8d4e0fda1128759
datapath: Add compatibility code for sparse annotations.

The __percpu and __rcu annotations for sparse are relatively
recent additions, so provide no-op definitions on older kernels.

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