From dfa5a47a30b9f759efa787b50011a60fed39e96f Mon Sep 17 00:00:00 2001 From: Barry Song Date: Tue, 29 Jun 2010 08:55:29 +0000 Subject: [PATCH] --- yaml --- r: 293947 b: refs/heads/master c: edd8a97e6e89ee2edc86e21db6253a73741f3c72 h: refs/heads/master i: 293945: a3cbd859bd443fdc9d00d7ab8549e44243ff7829 293943: 5783fab1b6356f761cea5d3f9a7355f5f1b10191 v: v3 --- [refs] | 2 +- trunk/arch/blackfin/include/asm/mmu_context.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 69ed61e3f019..d588ba615406 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f7899f7c1fff3c68f0c896e38714d489845cef57 +refs/heads/master: edd8a97e6e89ee2edc86e21db6253a73741f3c72 diff --git a/trunk/arch/blackfin/include/asm/mmu_context.h b/trunk/arch/blackfin/include/asm/mmu_context.h index 3828c70e7a2e..15b16d3e8de8 100644 --- a/trunk/arch/blackfin/include/asm/mmu_context.h +++ b/trunk/arch/blackfin/include/asm/mmu_context.h @@ -30,8 +30,11 @@ extern void *l1sram_alloc_max(void*); static inline void free_l1stack(void) { nr_l1stack_tasks--; - if (nr_l1stack_tasks == 0) + if (nr_l1stack_tasks == 0) { l1sram_free(l1_stack_base); + l1_stack_base = NULL; + l1_stack_len = 0; + } } static inline unsigned long