From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935301AbcAUK2w (ORCPT ); Thu, 21 Jan 2016 05:28:52 -0500 Received: from www.linutronix.de ([62.245.132.108]:36912 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935173AbcAUK2r (ORCPT ); Thu, 21 Jan 2016 05:28:47 -0500 Date: Thu, 21 Jan 2016 11:27:42 +0100 (CET) From: Thomas Gleixner To: Daniel Lezcano cc: peterz@infradead.org, rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, nicolas.pitre@linaro.org, vincent.guittot@linaro.org Subject: Re: [RFC V2 1/2] irq: Add a framework to measure interrupt timings In-Reply-To: <56A0A424.80306@linaro.org> Message-ID: References: <1453305636-22156-1-git-send-email-daniel.lezcano@linaro.org> <1453305636-22156-2-git-send-email-daniel.lezcano@linaro.org> <56A0A424.80306@linaro.org> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Jan 2016, Daniel Lezcano wrote: > Just to be sure, do you suggest to put the function declaration in > kernel/irq/internal.h and the function definition in kernel/sched/idle-sched.c > ? Well obviously the declarations and stub functions should be in a header which is accessible for both.