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

Sergei Shtylyov sshtylyov at mvista.com
Wed Feb 23 16:24:34 EST 2011


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



More information about the linux-arm-kernel mailing list