[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190820122049.GB2093@lenoir>
Date: Tue, 20 Aug 2019 14:20:50 +0200
From: Frederic Weisbecker <frederic@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Oleg Nesterov <oleg@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
John Stultz <john.stultz@...aro.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Anna-Maria Behnsen <anna-maria@...utronix.de>
Subject: Re: [patch 01/44] posix-timers: Cleanup forward declarations and
includes
On Mon, Aug 19, 2019 at 04:31:42PM +0200, Thomas Gleixner wrote:
> - Rename struct siginfo to kernel_siginfo
That's fine because struct siginfo isn't actually used in that
header, right?
> - Add a forward declaration for task_struct and remove sched.h include
> - Remove timex.h include as it is not needed
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> ---
> include/linux/posix-timers.h | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> --- a/include/linux/posix-timers.h
> +++ b/include/linux/posix-timers.h
> @@ -4,11 +4,10 @@
>
> #include <linux/spinlock.h>
> #include <linux/list.h>
> -#include <linux/sched.h>
> -#include <linux/timex.h>
> #include <linux/alarmtimer.h>
>
> -struct siginfo;
> +struct kernel_siginfo;
> +struct task_struct;
>
> struct cpu_timer_list {
> struct list_head entry;
>
>
Powered by blists - more mailing lists