]> Git Repo - J-linux.git/blob - arch/alpha/lib/dbg_current.S
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / arch / alpha / lib / dbg_current.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * arch/alpha/lib/dbg_current.S
4  * Contributed by Richard Henderson ([email protected])
5  *
6  * Trap if we find current not correct.
7  */
8
9 #include <asm/pal.h>
10
11         .text
12         .set noat
13
14         .globl _mcount
15         .ent _mcount
16 _mcount:
17         .frame $30, 0, $28, 0
18         .prologue 0
19
20         lda     $0, -0x4000($30)
21         cmpult  $8, $30, $1
22         cmpule  $0, $30, $2
23         and     $1, $2, $3
24         bne     $3, 1f
25
26         call_pal PAL_bugchk
27
28 1:      ret     $31, ($28), 1
29
30         .end _mcount
This page took 0.028077 seconds and 4 git commands to generate.