sched/headers, x86/apic: Remove the <linux/pm.h> header inclusion from <asm/apic.h>
authorIngo Molnar <[email protected]>
Mon, 6 Feb 2017 08:58:35 +0000 (09:58 +0100)
committerIngo Molnar <[email protected]>
Fri, 3 Mar 2017 00:45:40 +0000 (01:45 +0100)
commit1a79a72c65b8f1b4f44e166d1fb5cad560461b26
tree3889e77b6fe40b6bbc219b5348667f89cd6e5255
parentb2d5bfea2d00a0000da18f7667c2b0e2c2f168d9
sched/headers, x86/apic: Remove the <linux/pm.h> header inclusion from <asm/apic.h>

We want to simplify <linux/sched.h>'s header dependencies, but one
roadblock to that is <asm/apic.h>'s inclusion of pm.h,
which brings in other, problematic headers.

Remove it, as it appears to be entirely spurious, apic.h does not
actually make use of any PM facilities.

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]>
arch/x86/include/asm/apic.h