From patchwork Fri Apr 18 11:54:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 28630 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 77F3C2013D for ; Fri, 18 Apr 2014 11:55:52 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kq14sf6041236pab.2 for ; Fri, 18 Apr 2014 04:55:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=L3J4xuUr5qjIiEV8GStI4SLTeCf2c4OzuW6qbpCP3OQ=; b=FO09d/f2GvsVCcx4InJzz9ZOhKM/l4APZIr5DWVdv3JRCfEw2fR7pwWJ7C8N0OxxDY wFWMpnrRKiCqJowCd+v8eve1RxSP8kaZChHNSk+M4ED5vzSjzm9u8frD3T+i/aeNVMhD en1h42f/EyF8Lio2rYCk58wztOgJD52GEMs/1TcE5rldRst4SiOxnEr0MnLuIkwzda80 IAkBnIqJvi38W6WGqU+neMyc5cXM6JqYCtH0T2Py3PwmHmKgOM2EB338XtpY4TN8+cMR NWyhsSM2XxqdV/FpdHgX3Ibt4+uXxHR4KfVDgCMAunADhLfSYFhLeHWCvF3QjmyNPdeA //Vw== X-Gm-Message-State: ALoCoQn7KiaPjPQgg1SsqzjQ4F0Zq+cQp2evh5Gc/9N+NnCzBPpcSkkZlO6cnTUpXnocrZlqIiKy X-Received: by 10.66.122.70 with SMTP id lq6mr25669pab.47.1397822151575; Fri, 18 Apr 2014 04:55:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.163 with SMTP id b32ls1464693qge.22.gmail; Fri, 18 Apr 2014 04:55:51 -0700 (PDT) X-Received: by 10.220.106.84 with SMTP id w20mr13100059vco.18.1397822151445; Fri, 18 Apr 2014 04:55:51 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id kr17si4931684vcb.25.2014.04.18.04.55.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Apr 2014 04:55:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id oz11so2670046veb.19 for ; Fri, 18 Apr 2014 04:55:51 -0700 (PDT) X-Received: by 10.52.188.65 with SMTP id fy1mr1661374vdc.53.1397822151350; Fri, 18 Apr 2014 04:55:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp107059vcb; Fri, 18 Apr 2014 04:55:50 -0700 (PDT) X-Received: by 10.68.218.3 with SMTP id pc3mr21740828pbc.71.1397822150533; Fri, 18 Apr 2014 04:55:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id td10si16222913pac.468.2014.04.18.04.55.49; Fri, 18 Apr 2014 04:55:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752130AbaDRLzl (ORCPT + 26 others); Fri, 18 Apr 2014 07:55:41 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:34402 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457AbaDRLzi (ORCPT ); Fri, 18 Apr 2014 07:55:38 -0400 Received: by mail-wi0-f174.google.com with SMTP id d1so630606wiv.7 for ; Fri, 18 Apr 2014 04:55:37 -0700 (PDT) X-Received: by 10.194.63.46 with SMTP id d14mr16095118wjs.24.1397822136916; Fri, 18 Apr 2014 04:55:36 -0700 (PDT) Received: from lmenx30s.lme.st.com (LPuteaux-656-01-48-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPSA id hg18sm946519wib.19.2014.04.18.04.55.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Apr 2014 04:55:36 -0700 (PDT) From: Vincent Guittot To: peterz@infradead.org Cc: mingo@kernel.org, linux-kernel@vger.kernel.org, dietmar.eggemann@arm.com, preeti@linux.vnet.ibm.com, linaro-kernel@lists.linaro.org, tony.luck@intel.com, fenghua.yu@intel.com, schwidefsky@de.ibm.com, cmetcalf@tilera.com, benh@kernel.crashing.org, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, Vincent Guittot Subject: [PATCH] fix: sched: rework of sched_domain topology definition Date: Fri, 18 Apr 2014 13:54:25 +0200 Message-Id: <1397822065-26210-1-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <20140418105801.GV11182@twins.programming.kicks-ass.net> References: <20140418105801.GV11182@twins.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vincent.guittot@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , set_sched_topology doesn't need to be defined for non SMP because there is no sched_domain Signed-off-by: Vincent Guittot --- include/linux/sched.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index d2b981c..674b1fa 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1047,8 +1047,6 @@ static inline bool cpus_share_cache(int this_cpu, int that_cpu) return true; } -static inline void set_sched_topology(struct sched_domain_topology_level *tl) { } - #endif /* !CONFIG_SMP */