From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 34A3967B54 for ; Sat, 17 Jun 2006 08:19:03 +1000 (EST) Subject: Re: secondary CPU kicking on 86xx From: Benjamin Herrenschmidt To: Jon Loeliger In-Reply-To: References: Content-Type: text/plain Date: Sat, 17 Jun 2006 08:18:49 +1000 Message-Id: <1150496329.23600.54.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Or we can dynamically rewrite a branch instruction into > the reset vector from C code during smp_kick_cpu() time > like the current powermac code does. > > I have working code for both; just need opinions > and preferences on correct approach/style voiced! Second approach. #ifdef are evil and they prevent multiple board support in the same kernel. Ben.