aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorLaurent Dufour <[email protected]>2014-06-24 10:53:59 +0200
committerBenjamin Herrenschmidt <[email protected]>2014-06-25 13:10:48 +1000
commitc2cbcf533a1d7443cf1d6aae1127491792601587 (patch)
treeac6b3f35ebb65d59d07fdd8ee1bf93a33566c777 /net/lapb/lapb_timer.c
parente2500be2b801f4e95d6a1efbc50af3bf14eeb940 (diff)
powerpc/module: Fix TOC symbol CRC
The commit 71ec7c55ed91 introduced the magic symbol ".TOC." for ELFv2 ABI. This symbol is built manually and has no CRC value computed. A zero value is put in the CRC section to avoid modpost complaining about a missing CRC. Unfortunately, this breaks the kernel module loading when the kernel is relocated (kdump case for instance) because of the relocation applied to the kcrctab values. This patch compute a CRC value for the TOC symbol which will match the one compute by the kernel when it is relocated - aka '0 - relocate_start' done in maybe_relocated called by check_version (module.c). Signed-off-by: Laurent Dufour <[email protected]> Cc: Anton Blanchard <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions