+128
−108
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The old code didn't work on binutils 2.12 because setting a symbol to a register apparently requires a fairly recent version. This commit refactors the code to use the C preprocessor instead, and in the process makes the whole code a bit easier to understand. The object code produced is unchanged as expected. This fixes kernel bugzilla 16506. Reported-by:Dieter Stussy <kd6lvw+software@kd6lvw.ampr.org> Signed-off-by:
Luca Barbieri <luca@luca-barbieri.com> Signed-off-by:
H. Peter Anvin <hpa@zytor.com> Cc: <stable@kernel.org> 2.6.35 LKML-Reference: <tip-*@git.kernel.org>