Explorar el Código

[Blackfin] arch: current_l1_stack_save is a pointer, so use NULL rather than 0

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Mike Frysinger hace 17 años
padre
commit
9821b1f4a1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/asm-blackfin/mmu_context.h

+ 1 - 1
include/asm-blackfin/mmu_context.h

@@ -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();