powerpc: move ASM_CONST and stringify_in_c() into asm-const.h
This patch moves ASM_CONST() and stringify_in_c() into dedicated asm-const.h, then cleans all related inclusions. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [mpe: asm-compat.h should include asm-const.h] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
这个提交包含在:
@@ -17,6 +17,8 @@
|
||||
* Authors: Alexander Graf <agraf@suse.de>
|
||||
*/
|
||||
|
||||
#include <asm/asm-compat.h>
|
||||
|
||||
#define SHADOW_SLB_ENTRY_LEN 0x10
|
||||
#define OFFSET_ESID(x) (SHADOW_SLB_ENTRY_LEN * x)
|
||||
#define OFFSET_VSID(x) ((SHADOW_SLB_ENTRY_LEN * x) + 8)
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/exception-64s.h>
|
||||
#include <asm/ppc-opcode.h>
|
||||
#include <asm/asm-compat.h>
|
||||
|
||||
/*****************************************************************************
|
||||
* *
|
||||
|
@@ -32,6 +32,7 @@
|
||||
#include <asm/opal.h>
|
||||
#include <asm/xive-regs.h>
|
||||
#include <asm/thread_info.h>
|
||||
#include <asm/asm-compat.h>
|
||||
|
||||
/* Sign-extend HDEC if not on POWER9 */
|
||||
#define EXTEND_HDEC(reg) \
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include <asm/page.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/exception-64s.h>
|
||||
#include <asm/asm-compat.h>
|
||||
|
||||
#if defined(CONFIG_PPC_BOOK3S_64)
|
||||
#ifdef PPC64_ELF_ABI_v2
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include <asm/mmu.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/asm-compat.h>
|
||||
|
||||
#ifdef CONFIG_PPC_BOOK3S_64
|
||||
#include <asm/exception-64s.h>
|
||||
|
@@ -19,6 +19,8 @@
|
||||
|
||||
/* Real mode helpers */
|
||||
|
||||
#include <asm/asm-compat.h>
|
||||
|
||||
#if defined(CONFIG_PPC_BOOK3S_64)
|
||||
|
||||
#define GET_SHADOW_VCPU(reg) \
|
||||
|
在新工单中引用
屏蔽一个用户