treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / kernel / sun4v_mcd.S
bloba419b73184064ec94b0179a98b6a32083b3f2728
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
3  *
4  * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
5  * Authors: Bob Picco <bob.picco@oracle.com>,
6  *          Khalid Aziz <khalid.aziz@oracle.com>
7  */
8         .text
9         .align 32
11 sun4v_mcd_detect_precise:
12         mov     %l4, %o1
13         mov     %l5, %o2
14         call    sun4v_mem_corrupt_detect_precise
15          add    %sp, PTREGS_OFF, %o0
16         ba,a,pt %xcc, rtrap
17          nop