alignment.h (654B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_SH_ALIGNMENT_H 3#define __ASM_SH_ALIGNMENT_H 4 5#include <linux/types.h> 6 7extern void inc_unaligned_byte_access(void); 8extern void inc_unaligned_word_access(void); 9extern void inc_unaligned_dword_access(void); 10extern void inc_unaligned_multi_access(void); 11extern void inc_unaligned_user_access(void); 12extern void inc_unaligned_kernel_access(void); 13 14#define UM_WARN (1 << 0) 15#define UM_FIXUP (1 << 1) 16#define UM_SIGNAL (1 << 2) 17 18extern unsigned int unaligned_user_action(void); 19 20extern void unaligned_fixups_notify(struct task_struct *, insn_size_t, struct pt_regs *); 21 22#endif /* __ASM_SH_ALIGNMENT_H */