--- common/lib/modules/fglrx/build_mod/kcl_ioctl.c.orig 2010-09-01 16:05:31.000000000 +0200 +++ common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2010-09-21 15:45:17.889917716 +0200 @@ -35,6 +35,7 @@ #ifdef __x86_64__ # include "asm/compat.h" +# include "linux/compat.h" # if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) # include "linux/ioctl32.h" @@ -193,7 +194,7 @@ */ void* ATI_API_CALL KCL_IOCTL_AllocUserSpace32(long size) { - return compat_alloc_user_space(size); + return arch_compat_alloc_user_space(size); } #endif // __x86_64__