From 07c4d6515eb1eb4468eb7abeb974342d631ed7ce Mon Sep 17 00:00:00 2001 From: James Hogan Date: Wed, 30 May 2012 11:23:23 +0100 Subject: [PATCH] --- yaml --- r: 360629 b: refs/heads/master c: c19fa94a8fed72754e81800dfa14af6daaf6d331 h: refs/heads/master i: 360627: d845439461dbfa6d09225c63b626194cef8828fe v: v3 --- [refs] | 2 +- trunk/arch/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 31b3748668b7..b3f62cf5f4e1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c07380beafabee343a7f298bacd22598d72c7c87 +refs/heads/master: c19fa94a8fed72754e81800dfa14af6daaf6d331 diff --git a/trunk/arch/Kconfig b/trunk/arch/Kconfig index 7f8f281f2585..45bc593d10e1 100644 --- a/trunk/arch/Kconfig +++ b/trunk/arch/Kconfig @@ -94,6 +94,22 @@ config UPROBES If in doubt, say "N". +config HAVE_64BIT_ALIGNED_ACCESS + def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS + help + Some architectures require 64 bit accesses to be 64 bit + aligned, which also requires structs containing 64 bit values + to be 64 bit aligned too. This includes some 32 bit + architectures which can do 64 bit accesses, as well as 64 bit + architectures without unaligned access. + + This symbol should be selected by an architecture if 64 bit + accesses are required to be 64 bit aligned in this way even + though it is not a 64 bit architecture. + + See Documentation/unaligned-memory-access.txt for more + information on the topic of unaligned memory accesses. + config HAVE_EFFICIENT_UNALIGNED_ACCESS bool help