Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
6510d419 HH |
2 | #ifndef _ASM_PARISC_UNALIGNED_H |
3 | #define _ASM_PARISC_UNALIGNED_H | |
1da177e4 | 4 | |
6510d419 HH |
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 | |
1da177e4 LT |
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 | ||
6510d419 | 17 | #endif /* _ASM_PARISC_UNALIGNED_H */ |