[PATCH v2] ARM: Thumb-2: Reflect ARM/Thumb-2 configuration in module vermagic

Dave Martin dave.martin at linaro.org
Thu Feb 24 06:06:47 EST 2011


On Wed, Feb 23, 2011 at 9:24 PM, Sergei Shtylyov <sshtylyov at mvista.com> wrote:
> Hello.
>
> On 23-02-2011 14:53, Dave Martin wrote:
>
>> Loading Thumb-2 modules into an ARM kernel or vice-versa isn't
>> guaranteed to work safely, since the kernel is not interworking-
>> aware everywhere.
>
>> This patch adds "thumb2" to the module vermagic when
>> CONFIG_THUMB2_KERNEL is enabled, to help avoid accidental loading
>> of modules into the wrong kernel.
>
>> v2: modified to apply consistently on top of rmk's p2v branch.
>
>   Patch changelog should follow the -- tearline.
>
>> Signed-off-by: Dave Martin<dave.martin at linaro.org>
>> Acked-by: Nicolas Pitre<nicolas.pitre at linaro.org>
>
> WBR, Sergei
>

Opinions seem to differ... I have no strong opinion on this myself.

Cheers
---Dave



More information about the linux-arm-kernel mailing list