From 9f8da7e5efcee57efabeb1b4f6a5c8647683130f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 21 Sep 2019 23:57:21 +0200 Subject: [PATCH] Use PROLOGUE macro to ensure correct function name for DYNAMIC_ARCH --- kernel/power/icamax_power8.S | 8 +++++++- kernel/power/icamin_power8.S | 8 +++++++- kernel/power/isamax_power8.S | 9 ++++++++- kernel/power/isamin_power8.S | 8 +++++++- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/kernel/power/icamax_power8.S b/kernel/power/icamax_power8.S index 1ab310b72..4872aff40 100644 --- a/kernel/power/icamax_power8.S +++ b/kernel/power/icamax_power8.S @@ -1,10 +1,16 @@ - .file "icamax.c" +/* .file "icamax.c" .abiversion 2 .section ".text" .align 2 .p2align 4,,15 .globl icamax_k .type icamax_k, @function +*/ +#define ASSEMBLER +#include "common.h" + + PROLOGUE + icamax_k: .LCF0: 0: addis 2,12,.TOC.-.LCF0@ha diff --git a/kernel/power/icamin_power8.S b/kernel/power/icamin_power8.S index a74721278..e3d66798e 100644 --- a/kernel/power/icamin_power8.S +++ b/kernel/power/icamin_power8.S @@ -1,10 +1,16 @@ - .file "icamin.c" +/* .file "icamin.c" .abiversion 2 .section ".text" .align 2 .p2align 4,,15 .globl icamin_k .type icamin_k, @function +*/ +#define ASSEMBLER +#include "common.h" + + PROLOGUE + icamin_k: .LCF0: 0: addis 2,12,.TOC.-.LCF0@ha diff --git a/kernel/power/isamax_power8.S b/kernel/power/isamax_power8.S index d758797d7..c8fcaecc3 100644 --- a/kernel/power/isamax_power8.S +++ b/kernel/power/isamax_power8.S @@ -1,10 +1,17 @@ - .file "isamax.c" +/* .file "isamax.c" .abiversion 2 .section ".text" .align 2 .p2align 4,,15 .globl isamax_k .type isamax_k, @function +*/ + +#define ASSEMBLER +#include "common.h" + + PROLOGUE + isamax_k: .LCF0: 0: addis 2,12,.TOC.-.LCF0@ha diff --git a/kernel/power/isamin_power8.S b/kernel/power/isamin_power8.S index a46de4645..3873e879b 100644 --- a/kernel/power/isamin_power8.S +++ b/kernel/power/isamin_power8.S @@ -1,10 +1,16 @@ - .file "isamin.c" +/* .file "isamin.c" .abiversion 2 .section ".text" .align 2 .p2align 4,,15 .globl isamin_k .type isamin_k, @function +*/ +#define ASSEMBLER +#include "common.h" + + PROLOGUE + isamin_k: .LCF0: 0: addis 2,12,.TOC.-.LCF0@ha