[v8,2/3] powerpc/book3s: EXPORT_SYMBOL machine_check_print_event_info

Message ID 149150087155.9475.11789033992324470445.stgit@jupiter.in.ibm.com
State Superseded
Headers show

Commit Message

Mahesh J Salgaonkar April 6, 2017, 5:47 p.m.
From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

It will be used in arch/powerpc/kvm/book3s_hv.c KVM module.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
---
 arch/powerpc/kernel/mce.c |    1 +
 1 file changed, 1 insertion(+)


--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Michael Ellerman April 7, 2017, 6:30 a.m. | #1
Mahesh J Salgaonkar <mahesh@linux.vnet.ibm.com> writes:

> From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
>
> It will be used in arch/powerpc/kvm/book3s_hv.c KVM module.
>
> Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
> ---
>  arch/powerpc/kernel/mce.c |    1 +
>  1 file changed, 1 insertion(+)

Thanks.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c
index a1475e6..e567ff1 100644
--- a/arch/powerpc/kernel/mce.c
+++ b/arch/powerpc/kernel/mce.c
@@ -393,6 +393,7 @@  void machine_check_print_event_info(struct machine_check_event *evt)
 		break;
 	}
 }
+EXPORT_SYMBOL(machine_check_print_event_info);
 
 uint64_t get_mce_fault_addr(struct machine_check_event *evt)
 {