From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Michael Neuling To: Nathan Lynch Subject: Re: [PATCH] Fix CPU hotplug when using the SLB shadow buffer In-reply-to: <20080111011221.GW14201@localdomain> References: <23336.1199947743@neuling.org> <26792.1199949114@neuling.org> <28640.1200012427@neuling.org> <20080111011221.GW14201@localdomain> Date: Fri, 11 Jan 2008 13:59:30 +1100 Message-ID: <6532.1200020370@neuling.org> Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > @@ -58,6 +59,7 @@ static void pseries_mach_cpu_die(void) > > local_irq_disable(); > > idle_task_exit(); > > xics_teardown_cpu(0); > > + unregister_slb_shadow(smp_processor_id(), __pa(get_slb_shadow())); > ^ > Should that not be hard_smp_processor_id()? Thanks.. I think you're right since we register each CPU with a get_hard_smp_processor_id(cpu). I'll update. Mikey