From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753648AbdL1PEh (ORCPT ); Thu, 28 Dec 2017 10:04:37 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:32805 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753131AbdL1PEg (ORCPT ); Thu, 28 Dec 2017 10:04:36 -0500 Date: Thu, 28 Dec 2017 16:04:31 +0100 (CET) From: Thomas Gleixner To: David Howells cc: linux-arch@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] Expand the INIT_SIGNALS and INIT_SIGHAND macros and remove In-Reply-To: <151274831156.9961.11214505146256879075.stgit@warthog.procyon.org.uk> Message-ID: References: <151274828194.9961.4230316917108602662.stgit@warthog.procyon.org.uk> <151274831156.9961.11214505146256879075.stgit@warthog.procyon.org.uk> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) 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 Fri, 8 Dec 2017, David Howells wrote: > #define INIT_CPU_TIMERS(s) \ > .cpu_timers = { \ > LIST_HEAD_INIT(s.cpu_timers[0]), \ > LIST_HEAD_INIT(s.cpu_timers[1]), \ That macro is only used in init_task.c Why not moving it there and get rid of the whole macro maze in the header file? Thanks, tglx From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Date: Thu, 28 Dec 2017 15:04:31 +0000 Subject: Re: [PATCH 4/5] Expand the INIT_SIGNALS and INIT_SIGHAND macros and remove Message-Id: List-Id: References: <151274828194.9961.4230316917108602662.stgit@warthog.procyon.org.uk> <151274831156.9961.11214505146256879075.stgit@warthog.procyon.org.uk> In-Reply-To: <151274831156.9961.11214505146256879075.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Howells Cc: linux-arch@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org On Fri, 8 Dec 2017, David Howells wrote: > #define INIT_CPU_TIMERS(s) \ > .cpu_timers = { \ > LIST_HEAD_INIT(s.cpu_timers[0]), \ > LIST_HEAD_INIT(s.cpu_timers[1]), \ That macro is only used in init_task.c Why not moving it there and get rid of the whole macro maze in the header file? Thanks, tglx