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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 6, 2008 - 9:01 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9821b1...
Commit:     9821b1f4a145b20db08108362f0b4caf4f0832a1
Parent:     11b0be7c2c2c142acf73f4efd136a0de7a90ecab
Author:     Mike Frysinger <vapier.adi@gmail.com>
AuthorDate: Wed Mar 5 19:02:23 2008 -0700
Committer:  Bryan Wu <cooloney@kernel.org>
CommitDate: Wed Mar 5 19:02:23 2008 -0700

    [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>
---
 include/asm-blackfin/mmu_context.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-blackfin/mmu_context.h b/include/asm-blackfin/mmu_context.h
index b5eb675..f55ec3c 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();
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Blackfin] arch: current_l1_stack_save is a pointer, so us ..., Linux Kernel Mailing ..., (Thu Mar 6, 9:01 pm)