Skip to content

Commit

Permalink
[Blackfin] arch: current_l1_stack_save is a pointer, so use NULL rath…
Browse files Browse the repository at this point in the history
…er than 0

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Mar 6, 2008
1 parent 11b0be7 commit 9821b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-blackfin/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 9821b1f

Please sign in to comment.