| 1 | --- a/configure.in |
| 2 | +++ b/configure.in |
| 3 | @@ -64,7 +64,7 @@ dnl Set kernel build path |
| 4 | AC_ARG_ENABLE(kernelbuild, |
| 5 | AS_HELP_STRING(--enable-kernelbuild=x,Set the target kernel build path (only for kernel 2.6.x)), |
| 6 | [ |
| 7 | - if test -e $enableval/include/linux/autoconf.h; then |
| 8 | + if test -e $enableval/include/linux/autoconf.h -o -e $enableval/include/generated/autoconf.h; then |
| 9 | AC_SUBST([KERNEL_BUILD_PATH],[$enableval]) |
| 10 | else |
| 11 | AC_MSG_ERROR([The kernel build directory is not valid or not configured!]) |
| 12 | --- a/src/linux/ifxos_linux_thread_drv.c |
| 13 | +++ b/src/linux/ifxos_linux_thread_drv.c |
| 14 | @@ -34,7 +34,6 @@ |
| 15 | #include <linux/sched.h> |
| 16 | #include <linux/version.h> |
| 17 | #include <linux/completion.h> |
| 18 | -#include <linux/smp_lock.h> |
| 19 | #include <linux/signal.h> |
| 20 | |
| 21 | |
| 22 | |