]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kernel/kgdb.c
Merge tag 'hwspinlock-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad...
[karo-tx-linux.git] / arch / powerpc / kernel / kgdb.c
index 5ca82cd4a3742d557a28af43a4a86f82b9723f30..c1eef241017a1224bd424398d05b95f03cd38079 100644 (file)
@@ -159,7 +159,7 @@ static int kgdb_singlestep(struct pt_regs *regs)
        if (user_mode(regs))
                return 0;
 
-       backup_current_thread_info = (struct thread_info *)kmalloc(sizeof(struct thread_info), GFP_KERNEL);
+       backup_current_thread_info = kmalloc(sizeof(struct thread_info), GFP_KERNEL);
        /*
         * On Book E and perhaps other processors, singlestep is handled on
         * the critical exception stack.  This causes current_thread_info()