]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc/e6500: remove the stale TCD_LOCK macro
authorKevin Hao <haokexin@gmail.com>
Thu, 13 Aug 2015 11:51:35 +0000 (19:51 +0800)
committerScott Wood <scottwood@freescale.com>
Mon, 17 Aug 2015 23:53:42 +0000 (18:53 -0500)
Since we moved the "lock" to be the first element of
struct tlb_core_data in commit 82d86de25b9c ("powerpc/e6500: Make TLB
lock recursive"), this macro is not used by any code. Just delete it.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/asm-offsets.c

index 98230579d99c74267c9dc2fd1ef0df887b52dd2d..810f433731dcac24809dea42f1973c5a967bcae9 100644 (file)
@@ -213,7 +213,6 @@ int main(void)
                offsetof(struct tlb_core_data, esel_max));
        DEFINE(TCD_ESEL_FIRST,
                offsetof(struct tlb_core_data, esel_first));
-       DEFINE(TCD_LOCK, offsetof(struct tlb_core_data, lock));
 #endif /* CONFIG_PPC_BOOK3E */
 
 #ifdef CONFIG_PPC_STD_MMU_64