diff options
Diffstat (limited to 'recipes-kernel/lttng/lttng-ust/add-aarch64.patch')
-rw-r--r-- | recipes-kernel/lttng/lttng-ust/add-aarch64.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-kernel/lttng/lttng-ust/add-aarch64.patch b/recipes-kernel/lttng/lttng-ust/add-aarch64.patch new file mode 100644 index 0000000..9112082 --- /dev/null +++ b/recipes-kernel/lttng/lttng-ust/add-aarch64.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | lttng-ust: add aarch64 recognition | ||
2 | |||
3 | Treat the same as "arm". | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
8 | |||
9 | The patch was imported from OpenEmbedded mailing list | ||
10 | http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097135.html. | ||
11 | |||
12 | Besides recognizing aarch64, it was also necessary to recognize aarch64_be. | ||
13 | |||
14 | Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> | ||
15 | Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com> | ||
16 | |||
17 | --- | ||
18 | diff --git a/configure.ac b/configure.ac | ||
19 | index f507883..40a57d8 100644 | ||
20 | --- a/configure.ac | ||
21 | +++ b/configure.ac | ||
22 | @@ -194,6 +194,8 @@ changequote([,])dnl | ||
23 | s390) NO_UNALIGNED_ACCESS=1 ;; | ||
24 | s390x) NO_UNALIGNED_ACCESS=1 ;; | ||
25 | arm*) NO_UNALIGNED_ACCESS=1 ;; | ||
26 | + aarch64) NO_UNALIGNED_ACCESS=1 ;; | ||
27 | + aarch64_be) NO_UNALIGNED_ACCESS=1 ;; | ||
28 | mips*) NO_UNALIGNED_ACCESS=1 ;; | ||
29 | tile*) NO_UNALIGNED_ACCESS=1 ;; | ||
30 | *) AC_MSG_ERROR([unable to detect alignment requirements (unsupported architecture ($host_cpu)?)]) ;; | ||