]> err.no Git - linux-2.6/blobdiff - drivers/lguest/lguest_user.c
[POWERPC] Use __always_inline for xchg* and cmpxchg*
[linux-2.6] / drivers / lguest / lguest_user.c
index 564e425d71dd37747735e8ba47ed1b1881a022cb..645e6e040bfbeab46bad83b52f9bdf42a310d788 100644 (file)
@@ -189,7 +189,7 @@ static int initialize(struct file *file, const unsigned long __user *input)
        }
 
        /* Populate the easy fields of our "struct lguest" */
-       lg->mem_base = (void __user *)(long)args[0];
+       lg->mem_base = (void __user *)args[0];
        lg->pfn_limit = args[1];
 
        /* This is the first cpu (cpu 0) and it will start booting at args[3] */