summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2004-08-12 21:59:42 +0000
committerPeter Kjellerstedt <pkj@axis.com>2004-08-12 21:59:42 +0000
commitea6bf1beea4d3fcc98e2e940e940735a5a0b3c5e (patch)
tree979b70af22d2b04ba01a48e6e80ce71621fd7ac0
parent02f41dc112d035da030b2c14f02baaae2f7c3c18 (diff)
The CRIS architecture handles unaligned accesses too.
-rw-r--r--include/bluetooth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bluetooth.h b/include/bluetooth.h
index 9304ddd6..80a2d169 100644
--- a/include/bluetooth.h
+++ b/include/bluetooth.h
@@ -88,7 +88,7 @@ enum {
#endif
/* Bluetooth unaligned access */
-#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__s390__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__s390__) || defined(__cris__)
#define bt_get_unaligned(ptr) (*(ptr))
#define bt_put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
#else