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)
commit22532578ee0f8725e0155e528c29ff992c1950c7
tree28696c273cfcc8fba5475eba56d2ed0a9b8401a1
parentc014e15a2f667f91b5c2d08a90d77197a89d8065
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