entry-header.S (651a88798412e216f337d70181127e847f00a4b7) entry-header.S (508074607c7b95b24f0adf633fdf606761bb7824)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/init.h>
3#include <linux/linkage.h>
4
5#include <asm/assembler.h>
6#include <asm/asm-offsets.h>
7#include <asm/errno.h>
8#include <asm/thread_info.h>

--- 34 unchanged lines hidden (view full) ---

43#define ATRAP(x...) x
44#else
45#define ATRAP(x...)
46#endif
47
48 .macro alignment_trap, rtmp1, rtmp2, label
49#ifdef CONFIG_ALIGNMENT_TRAP
50 mrc p15, 0, \rtmp2, c1, c0, 0
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/init.h>
3#include <linux/linkage.h>
4
5#include <asm/assembler.h>
6#include <asm/asm-offsets.h>
7#include <asm/errno.h>
8#include <asm/thread_info.h>

--- 34 unchanged lines hidden (view full) ---

43#define ATRAP(x...) x
44#else
45#define ATRAP(x...)
46#endif
47
48 .macro alignment_trap, rtmp1, rtmp2, label
49#ifdef CONFIG_ALIGNMENT_TRAP
50 mrc p15, 0, \rtmp2, c1, c0, 0
51 ldr \rtmp1, \label
52 ldr \rtmp1, [\rtmp1]
51 ldr_va \rtmp1, \label
53 teq \rtmp1, \rtmp2
54 mcrne p15, 0, \rtmp1, c1, c0, 0
55#endif
56 .endm
57
58#ifdef CONFIG_CPU_V7M
59/*
60 * ARMv7-M exception entry/exit macros.

--- 408 unchanged lines hidden ---
52 teq \rtmp1, \rtmp2
53 mcrne p15, 0, \rtmp1, c1, c0, 0
54#endif
55 .endm
56
57#ifdef CONFIG_CPU_V7M
58/*
59 * ARMv7-M exception entry/exit macros.

--- 408 unchanged lines hidden ---