datapath: Add backport for USHRT_MAX.
authorJesse Gross <jesse@nicira.com>
Thu, 3 Mar 2011 21:38:09 +0000 (13:38 -0800)
committerJesse Gross <jesse@nicira.com>
Thu, 3 Mar 2011 22:57:18 +0000 (14:57 -0800)
commitf45ee2cd9a8cd2a4f2a60fd36da9f95775e2efa6
tree430f9300de81a6a36ba4eedea061db577b10fbd2
parentfdd89fdc9943878e7cb1c43ba872b13f26c25e59
datapath: Add backport for USHRT_MAX.

Kernels before 2.6.26 didn't have type limits for short at all
and before 2.6.35 it was called SHORT instead of SHRT.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux-2.6/compat-2.6/include/linux/kernel.h