From 8f3a7fa4a230f5e974e99b617138e2aaa45109e7 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 9 Jun 2010 22:33:53 -0500 Subject: powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb If we explicitly disabled a core remove it from the dtb we pass on to the kernel. Signed-off-by: Kumar Gala --- arch/powerpc/include/asm/mp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/powerpc/include/asm/mp.h') diff --git a/arch/powerpc/include/asm/mp.h b/arch/powerpc/include/asm/mp.h index 5388c951c8..3ffa30b978 100644 --- a/arch/powerpc/include/asm/mp.h +++ b/arch/powerpc/include/asm/mp.h @@ -1,5 +1,5 @@ /* - * Copyright 2009 Freescale Semiconductor, Inc. + * Copyright 2009-2010 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -26,5 +26,6 @@ void setup_mp(void); void cpu_mp_lmb_reserve(struct lmb *lmb); u32 determine_mp_bootpg(void); +int is_core_disabled(int nr); #endif -- cgit v1.2.1