Linux-libre 5.7.6-gnu
[librecmc/linux-libre.git] / arch / parisc / include / asm / unaligned.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC_UNALIGNED_H
3 #define _ASM_PARISC_UNALIGNED_H
4
5 #include <linux/unaligned/be_struct.h>
6 #include <linux/unaligned/le_byteshift.h>
7 #include <linux/unaligned/generic.h>
8 #define get_unaligned   __get_unaligned_be
9 #define put_unaligned   __put_unaligned_be
10
11 #ifdef __KERNEL__
12 struct pt_regs;
13 void handle_unaligned(struct pt_regs *regs);
14 int check_unaligned(struct pt_regs *regs);
15 #endif
16
17 #endif /* _ASM_PARISC_UNALIGNED_H */