]> Git Repo - linux.git/commit
sched/headers, timers: Remove the <linux/sysctl.h> include from <linux/timer.h>
authorIngo Molnar <[email protected]>
Mon, 6 Feb 2017 08:56:40 +0000 (09:56 +0100)
committerIngo Molnar <[email protected]>
Fri, 3 Mar 2017 00:45:39 +0000 (01:45 +0100)
commitb2d5bfea2d00a0000da18f7667c2b0e2c2f168d9
tree65e60d0efa18e0367fb23f73f12a907108a1685d
parent50ff9d130014f7b19541dbf607a615a72b75b778
sched/headers, timers: Remove the <linux/sysctl.h> include from <linux/timer.h>

So we want to simplify <linux/sched.h>'s header dependencies, but one
roadblock of that is <linux/timer.h>'s inclusion of sysctl.h,
which brings in other, problematic headers.

Note that timer.h's inclusion of sysctl.h can be avoided if we
pre-declare ctl_table - so do that.

Acked-by: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/timer.h
include/linux/user_namespace.h
This page took 0.053302 seconds and 4 git commands to generate.