mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
powerpc: clean inclusions of asm/feature-fixups.h
files not using feature fixup don't need asm/feature-fixups.h files using feature fixup need asm/feature-fixups.h Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
5c35a02c54
commit
2c86cd188f
49 changed files with 45 additions and 4 deletions
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <asm/feature-fixups.h>
|
|
||||||
#include <uapi/asm/cputable.h>
|
#include <uapi/asm/cputable.h>
|
||||||
#include <asm/asm-const.h>
|
#include <asm/asm-const.h>
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
|
|
||||||
#include <asm/ppc-opcode.h>
|
#include <asm/ppc-opcode.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#define PPC_DBELL_MSG_BRDCAST (0x04000000)
|
#define PPC_DBELL_MSG_BRDCAST (0x04000000)
|
||||||
#define PPC_DBELL_TYPE(x) (((x) & 0xf) << (63-36))
|
#define PPC_DBELL_TYPE(x) (((x) & 0xf) << (63-36))
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <asm/feature-fixups.h>
|
|
||||||
#include <uapi/asm/cputable.h>
|
#include <uapi/asm/cputable.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PPC_DT_CPU_FTRS
|
#ifdef CONFIG_PPC_DT_CPU_FTRS
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
* implementations as possible.
|
* implementations as possible.
|
||||||
*/
|
*/
|
||||||
#include <asm/head-64.h>
|
#include <asm/head-64.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* PACA save area offsets (exgen, exmc, etc) */
|
/* PACA save area offsets (exgen, exmc, etc) */
|
||||||
#define EX_R9 0
|
#define EX_R9 0
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
#include <asm/feature-fixups.h>
|
|
||||||
#include <asm/asm-const.h>
|
#include <asm/asm-const.h>
|
||||||
|
|
||||||
/* firmware feature bitmask values */
|
/* firmware feature bitmask values */
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
#ifndef ASM_KVM_BOOKE_HV_ASM_H
|
#ifndef ASM_KVM_BOOKE_HV_ASM_H
|
||||||
#define ASM_KVM_BOOKE_HV_ASM_H
|
#define ASM_KVM_BOOKE_HV_ASM_H
|
||||||
|
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef __ASSEMBLY__
|
#ifdef __ASSEMBLY__
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#include <asm/feature-fixups.h>
|
|
||||||
#include <asm/asm-const.h>
|
#include <asm/asm-const.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc-opcode.h>
|
#include <asm/ppc-opcode.h>
|
||||||
#include <asm/firmware.h>
|
#include <asm/firmware.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef __ASSEMBLY__
|
#ifdef __ASSEMBLY__
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include <linux/stringify.h>
|
#include <linux/stringify.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/asm-const.h>
|
#include <asm/asm-const.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* Pickup Book E specific registers. */
|
/* Pickup Book E specific registers. */
|
||||||
#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
|
#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
_GLOBAL(__setup_cpu_603)
|
_GLOBAL(__setup_cpu_603)
|
||||||
mflr r5
|
mflr r5
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
#include <asm/asm-405.h>
|
#include <asm/asm-405.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MSR_KERNEL is > 0x10000 on 4xx/Book-E since it include MSR_CE.
|
* MSR_KERNEL is > 0x10000 on 4xx/Book-E since it include MSR_CE.
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#else
|
#else
|
||||||
#include <asm/exception-64e.h>
|
#include <asm/exception-64e.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System calls.
|
* System calls.
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <asm/hw_irq.h>
|
#include <asm/hw_irq.h>
|
||||||
#include <asm/kvm_asm.h>
|
#include <asm/kvm_asm.h>
|
||||||
#include <asm/kvm_booke_hv_asm.h>
|
#include <asm/kvm_booke_hv_asm.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* XXX This will ultimately add space for a special exception save
|
/* XXX This will ultimately add space for a special exception save
|
||||||
* structure used to save things like SRR0/SRR1, SPRGs, MAS, etc...
|
* structure used to save things like SRR0/SRR1, SPRGs, MAS, etc...
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/cpuidle.h>
|
#include <asm/cpuidle.h>
|
||||||
#include <asm/head-64.h>
|
#include <asm/head-64.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* There are a few constraints to be concerned with.
|
* There are a few constraints to be concerned with.
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef CONFIG_VSX
|
#ifdef CONFIG_VSX
|
||||||
#define __REST_32FPVSRS(n,c,base) \
|
#define __REST_32FPVSRS(n,c,base) \
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include <asm/bug.h>
|
#include <asm/bug.h>
|
||||||
#include <asm/kvm_book3s_asm.h>
|
#include <asm/kvm_book3s_asm.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* 601 only have IBAT; cr0.eq is set on 601 when using this macro */
|
/* 601 only have IBAT; cr0.eq is set on 601 when using this macro */
|
||||||
#define LOAD_BAT(n, reg, RA, RB) \
|
#define LOAD_BAT(n, reg, RA, RB) \
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#include <asm/cputhreads.h>
|
#include <asm/cputhreads.h>
|
||||||
#include <asm/ppc-opcode.h>
|
#include <asm/ppc-opcode.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* The physical memory is laid out such that the secondary processor
|
/* The physical memory is laid out such that the secondary processor
|
||||||
* spin code sits at 0x0000...0x00ff. On server, the vectors follow
|
* spin code sits at 0x0000...0x00ff. On server, the vectors follow
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
#include "head_booke.h"
|
#include "head_booke.h"
|
||||||
|
|
||||||
/* As with the other PowerPC ports, it is expected that when code
|
/* As with the other PowerPC ports, it is expected that when code
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <asm/book3s/64/mmu-hash.h>
|
#include <asm/book3s/64/mmu-hash.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/irqflags.h>
|
#include <asm/irqflags.h>
|
||||||
#include <asm/hw_irq.h>
|
#include <asm/hw_irq.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* Usage:
|
/* Usage:
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include <asm/bug.h>
|
#include <asm/bug.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
#include <asm/cpu_has_feature.h>
|
#include <asm/cpu_has_feature.h>
|
||||||
#include <asm/asm-prototypes.h>
|
#include <asm/asm-prototypes.h>
|
||||||
#include <asm/kdump.h>
|
#include <asm/kdump.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#define DBG(fmt...)
|
#define DBG(fmt...)
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
#include <asm/opal.h>
|
#include <asm/opal.h>
|
||||||
#include <asm/cputhreads.h>
|
#include <asm/cputhreads.h>
|
||||||
#include <asm/hw_irq.h>
|
#include <asm/hw_irq.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Structure for storing CPU registers on the save area.
|
* Structure for storing CPU registers on the save area.
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Structure for storing CPU registers on the save area.
|
* Structure for storing CPU registers on the save area.
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include <asm/reg.h>
|
#include <asm/reg.h>
|
||||||
#include <asm/bug.h>
|
#include <asm/bug.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef CONFIG_VSX
|
#ifdef CONFIG_VSX
|
||||||
/* See fpu.S, this is borrowed from there */
|
/* See fpu.S, this is borrowed from there */
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#define SHADOW_SLB_ENTRY_LEN 0x10
|
#define SHADOW_SLB_ENTRY_LEN 0x10
|
||||||
#define OFFSET_ESID(x) (SHADOW_SLB_ENTRY_LEN * x)
|
#define OFFSET_ESID(x) (SHADOW_SLB_ENTRY_LEN * x)
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <asm/exception-64s.h>
|
#include <asm/exception-64s.h>
|
||||||
#include <asm/ppc-opcode.h>
|
#include <asm/ppc-opcode.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* *
|
* *
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <asm/xive-regs.h>
|
#include <asm/xive-regs.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* Sign-extend HDEC if not on POWER9 */
|
/* Sign-extend HDEC if not on POWER9 */
|
||||||
#define EXTEND_HDEC(reg) \
|
#define EXTEND_HDEC(reg) \
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
/* Real mode helpers */
|
/* Real mode helpers */
|
||||||
|
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#if defined(CONFIG_PPC_BOOK3S_64)
|
#if defined(CONFIG_PPC_BOOK3S_64)
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.section ".toc","aw"
|
.section ".toc","aw"
|
||||||
PPC64_CACHES:
|
PPC64_CACHES:
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef __BIG_ENDIAN__
|
#ifdef __BIG_ENDIAN__
|
||||||
#define sLd sld /* Shift towards low-numbered address. */
|
#define sLd sld /* Shift towards low-numbered address. */
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/* Note: This code relies on -mminimal-toc */
|
/* Note: This code relies on -mminimal-toc */
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.align 7
|
.align 7
|
||||||
_GLOBAL_TOC(memcpy)
|
_GLOBAL_TOC(memcpy)
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/export.h>
|
#include <asm/export.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
.section .bss
|
.section .bss
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <asm/udbg.h>
|
#include <asm/udbg.h>
|
||||||
#include <asm/kexec.h>
|
#include <asm/kexec.h>
|
||||||
#include <asm/ppc-opcode.h>
|
#include <asm/ppc-opcode.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#include <misc/cxl-base.h>
|
#include <misc/cxl-base.h>
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
#include <asm/firmware.h>
|
#include <asm/firmware.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This macro generates asm code to compute the VSID scramble
|
* This macro generates asm code to compute the VSID scramble
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <asm/ppc-opcode.h>
|
#include <asm/ppc-opcode.h>
|
||||||
#include <asm/kvm_asm.h>
|
#include <asm/kvm_asm.h>
|
||||||
#include <asm/kvm_booke_hv_asm.h>
|
#include <asm/kvm_booke_hv_asm.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PPC_64K_PAGES
|
#ifdef CONFIG_PPC_64K_PAGES
|
||||||
#define VPTE_PMD_SHIFT (PTE_INDEX_SIZE+1)
|
#define VPTE_PMD_SHIFT (PTE_INDEX_SIZE+1)
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/bug.h>
|
#include <asm/bug.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#if defined(CONFIG_40x)
|
#if defined(CONFIG_40x)
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Flush and disable all data caches (dL1, L2, L3). This is used
|
* Flush and disable all data caches (dL1, L2, L3). This is used
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
#define MAGIC 0x4c617273 /* 'Lars' */
|
#define MAGIC 0x4c617273 /* 'Lars' */
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/opal.h>
|
#include <asm/opal.h>
|
||||||
#include <asm/asm-compat.h>
|
#include <asm/asm-compat.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.section ".text"
|
.section ".text"
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
#include <asm/feature-fixups.h>
|
||||||
|
|
||||||
.section ".text"
|
.section ".text"
|
||||||
|
|
||||||
|
|
1
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
Symbolic link
1
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../../../../arch/powerpc/include/asm/feature-fixups.h
|
Loading…
Reference in a new issue