mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
powerpc: untangle cputable mce include
Having cputable.h include mce.h means it pulls in a bunch of low level headers (e.g., synch.h) which then can't use CPU_FTR_ definitions. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200916030234.4110379-1-npiggin@gmail.com
This commit is contained in:
parent
aea948bb80
commit
9983efa83b
3 changed files with 2 additions and 5 deletions
|
@ -9,11 +9,6 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/*
|
|
||||||
* Added to include __machine_check_early_realmode_* functions
|
|
||||||
*/
|
|
||||||
#include <asm/mce.h>
|
|
||||||
|
|
||||||
/* This structure can grow, it's real size is used by head.S code
|
/* This structure can grow, it's real size is used by head.S code
|
||||||
* via the mkdefs mechanism.
|
* via the mkdefs mechanism.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <asm/oprofile_impl.h>
|
#include <asm/oprofile_impl.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/prom.h> /* for PTRRELOC on ARCH=ppc */
|
#include <asm/prom.h> /* for PTRRELOC on ARCH=ppc */
|
||||||
|
#include <asm/mce.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/dt_cpu_ftrs.h>
|
#include <asm/dt_cpu_ftrs.h>
|
||||||
|
#include <asm/mce.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/oprofile_impl.h>
|
#include <asm/oprofile_impl.h>
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue