Merge changes from citrix branch into master.
[sliver-openvswitch.git] / datapath / compat.h
1 /*
2  * Copyright (c) 2009 Nicira Networks.
3  * Distributed under the terms of the GNU GPL version 2.
4  *
5  * Significant portions of this file may be copied from parts of the Linux
6  * kernel, by Linus Torvalds and others.
7  */
8
9 #ifndef COMPAT_H
10 #define COMPAT_H 1
11
12 #include <linux/version.h>
13
14 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
15
16 #include "compat26.h"
17
18 #else
19
20 #include "compat24.h"
21
22 #endif
23
24
25 #endif /* compat.h */