]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/vdso.c
Merge branch 'agp-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / vdso.c
index e46c31b36641e7fb074e6ba3e45e17fbb7600f14..cef01e4e898916483f289238e7d4bc3ac79c59bb 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
-#include <linux/smp_lock.h>
 #include <linux/stddef.h>
 #include <linux/unistd.h>
 #include <linux/slab.h>
@@ -671,7 +670,7 @@ static int __init vdso_init(void)
        /*
         * Fill up the "systemcfg" stuff for backward compatiblity
         */
-       strcpy(vdso_data->eye_catcher, "SYSTEMCFG:PPC64");
+       strcpy((char *)vdso_data->eye_catcher, "SYSTEMCFG:PPC64");
        vdso_data->version.major = SYSTEMCFG_MAJOR;
        vdso_data->version.minor = SYSTEMCFG_MINOR;
        vdso_data->processor = mfspr(SPRN_PVR);