summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-03-05 19:02:23 -0700
committerBryan Wu <cooloney@kernel.org>2008-03-05 19:02:23 -0700
commit9821b1f4a145b20db08108362f0b4caf4f0832a1 (patch)
treea27057c90d1557b35f6faf32321225293308cbd4 /include/asm-blackfin
parent11b0be7c2c2c142acf73f4efd136a0de7a90ecab (diff)
downloadlinux-stable-9821b1f4a145b20db08108362f0b4caf4f0832a1.tar.gz
linux-stable-9821b1f4a145b20db08108362f0b4caf4f0832a1.tar.bz2
linux-stable-9821b1f4a145b20db08108362f0b4caf4f0832a1.zip
[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>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/mmu_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/mmu_context.h b/include/asm-blackfin/mmu_context.h
index b5eb67596ad5..f55ec3c23a92 100644
--- a/include/asm-blackfin/mmu_context.h
+++ b/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();