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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A26D714008A for ; Thu, 27 Mar 2014 23:56:34 +1100 (EST) Message-ID: <1395924977.5569.109.camel@pasglop> Subject: Re: [PATCH v4] powernv, cpufreq: cpufreq driver for powernv platform From: Benjamin Herrenschmidt To: ego@linux.vnet.ibm.com Date: Thu, 27 Mar 2014 23:56:17 +1100 In-Reply-To: <20140327112031.GC27777@in.ibm.com> References: <1395852947-22290-1-git-send-email-ego@linux.vnet.ibm.com> <1395852947-22290-2-git-send-email-ego@linux.vnet.ibm.com> <20140327093050.GA27777@in.ibm.com> <20140327112031.GC27777@in.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Linux PM list , Viresh Kumar , "Rafael J. Wysocki" , "linuxppc-dev@ozlabs.org" , Anton Blanchard , "Srivatsa S. Bhat" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2014-03-27 at 16:50 +0530, Gautham R Shenoy wrote: > > Well, in the scenarios that we're interested in, it is highly unlikely > that CONFIG_PREMPT is set. Hence we'll default to > raw_smp_processor_id() anyway. So, I think we can retain > smp_processor_id(). We don't know that. Some people are interested in running preempt on these things. If raw is ok to call here, please use it. Cheers, Ben.