2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2008-04-29 01:03:30 -07:00
|
|
|
#ifndef _ASM_PARISC_UNALIGNED_H
|
|
|
|
|
#define _ASM_PARISC_UNALIGNED_H
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-04-29 01:03:30 -07:00
|
|
|
#include <linux/unaligned/be_struct.h>
|
|
|
|
|
#include <linux/unaligned/le_byteshift.h>
|
|
|
|
|
#include <linux/unaligned/generic.h>
|
|
|
|
|
#define get_unaligned __get_unaligned_be
|
|
|
|
|
#define put_unaligned __put_unaligned_be
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
struct pt_regs;
|
|
|
|
|
void handle_unaligned(struct pt_regs *regs);
|
|
|
|
|
int check_unaligned(struct pt_regs *regs);
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-04-29 01:03:30 -07:00
|
|
|
#endif /* _ASM_PARISC_UNALIGNED_H */
|