x86/xen: resume timer irqs early
[linux/fpc-iii.git] / arch / arc / include / asm / unaligned.h
blob60702f3751d2bd7077286fbb929f86c676558e1e
1 /*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef _ASM_ARC_UNALIGNED_H
10 #define _ASM_ARC_UNALIGNED_H
12 /* ARC700 can't handle unaligned Data accesses. */
14 #include <asm-generic/unaligned.h>
15 #include <asm/ptrace.h>
17 #ifdef CONFIG_ARC_MISALIGN_ACCESS
18 int misaligned_fixup(unsigned long address, struct pt_regs *regs,
19 struct callee_regs *cregs);
20 #else
21 static inline int
22 misaligned_fixup(unsigned long address, struct pt_regs *regs,
23 struct callee_regs *cregs)
25 return 0;
27 #endif
29 #endif /* _ASM_ARC_UNALIGNED_H */