spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / sh / include / asm / alignment.h
blobb12efecf52942713f33e1a84924f64f8e92273d7
1 #ifndef __ASM_SH_ALIGNMENT_H
2 #define __ASM_SH_ALIGNMENT_H
4 #include <linux/types.h>
6 extern void inc_unaligned_byte_access(void);
7 extern void inc_unaligned_word_access(void);
8 extern void inc_unaligned_dword_access(void);
9 extern void inc_unaligned_multi_access(void);
10 extern void inc_unaligned_user_access(void);
11 extern void inc_unaligned_kernel_access(void);
13 #define UM_WARN (1 << 0)
14 #define UM_FIXUP (1 << 1)
15 #define UM_SIGNAL (1 << 2)
17 extern unsigned int unaligned_user_action(void);
19 extern void unaligned_fixups_notify(struct task_struct *, insn_size_t, struct pt_regs *);
21 #endif /* __ASM_SH_ALIGNMENT_H */