[Blackfin] arch: current_l1_stack_save is a pointer, so use NULL rather than 0
authorMike Frysinger <vapier.adi@gmail.com>
Thu, 6 Mar 2008 02:02:23 +0000 (19:02 -0700)
committerBryan Wu <cooloney@kernel.org>
Thu, 6 Mar 2008 02:02:23 +0000 (19:02 -0700)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
include/asm-blackfin/mmu_context.h

index b5eb675..f55ec3c 100644 (file)
@@ -73,7 +73,7 @@ static inline void destroy_context(struct mm_struct *mm)
        struct sram_list_struct *tmp;
 
        if (current_l1_stack_save == mm->context.l1_stack_save)
-               current_l1_stack_save = 0;
+               current_l1_stack_save = NULL;
        if (mm->context.l1_stack_save)
                free_l1stack();