summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4v_mcd.S
blob: a419b73184064ec94b0179a98b6a32083b3f2728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */
/* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
 *
 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
 * Authors: Bob Picco <bob.picco@oracle.com>,
 *          Khalid Aziz <khalid.aziz@oracle.com>
 */
	.text
	.align 32

sun4v_mcd_detect_precise:
	mov	%l4, %o1
	mov 	%l5, %o2
	call	sun4v_mem_corrupt_detect_precise
	 add	%sp, PTREGS_OFF, %o0
	ba,a,pt	%xcc, rtrap
	 nop