x86_64 patch from Bernd
x86_64 patch from Bernd

from: eda03ea1f7554d8bc24c6443b7a405d0ed84e9a0

cholin/olsrd,cholin/olsrd,sebkur/olsrd,nolith/olsrd,zioproto/olsrd,ninuxorg/olsrd,acinonyx/olsrd,sebkur/olsrd,zioproto/olsrd,nolith/olsrd,diogomg/olsrd-binary-heap,cholin/olsrd,diogomg/olsrd,diogomg/olsrd-binary-heap,tdz/olsrd,tdz/olsrd,diogomg/olsrd-binary-heap,diogomg/olsrd-binary-heap,diogomg/olsrd,diogomg/olsrd-binary-heap,acinonyx/olsrd,sebkur/olsrd,diogomg/olsrd-binary-heap,cholin/olsrd,diogomg/olsrd-binary-heap,diogomg/olsrd,diogomg/olsrd,tdz/olsrd,nolith/olsrd,nolith/olsrd,diogomg/olsrd,zioproto/olsrd,tdz/olsrd,acinonyx/olsrd,zioproto/olsrd,sebkur/olsrd,tdz/olsrd,sebkur/olsrd,ninuxorg/olsrd,diogomg/olsrd,diogomg/olsrd,ninuxorg/olsrd,acinonyx/olsrd,ninuxorg/olsrd,cholin/olsrd,nolith/olsrd,zioproto/olsrd,acinonyx/olsrd,sebkur/olsrd,ninuxorg/olsrd