]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: reject outdated/unused/wrong relocation types
authorRobin Getz <robin.getz@analog.com>
Thu, 25 Jun 2009 15:49:38 +0000 (15:49 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:28:46 +0000 (21:28 -0400)
commit674f487dbd29e86a63524234a747b52965e3a61a
tree28696c273cfcc8fba5475eba56d2ed0a9b8401a1
parentfc4dcd92f8f9b520326d36a0e9733908ac660e6c
Blackfin: reject outdated/unused/wrong relocation types

All kernel modules are required to be built with -mlong-calls and thus
should not generate any of these relocations.  If they do, it means the
module has not been compiled properly, so rather than trying to handle
them (and running into random run time errors) just error out on module
load to force the module to be compiled correctly.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/module.c