Add #include <linux/version.h> to include/asm/uaccess.h
authorIan Abbott <abbotti@mev.co.uk>
Thu, 3 Mar 2011 15:47:44 +0000 (15:47 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 3 Mar 2011 15:47:44 +0000 (15:47 +0000)
commit5198472edb78da7ddc5e1fffd6d35fd7ae76a948
treea0bb8497831e922334274001f1a51ed5a0d8c39c
parent465ef848ce4b0cdc223723d0fa2711590b0487eb
Add #include <linux/version.h> to include/asm/uaccess.h

The include/asm/uaccess.h compatibility header uses LINUX_VERSION_CODE
and KERNEL_VERSION, but doesn't #include <linux/version.h> to define
those macros.  This caused a build failure for at least one person.

Perhaps we should just remove the file though, as it's only needed for
really ancient kernels (before 2.2.0) that we no longer support.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
include/asm/uaccess.h