Revert "fix linaro memset"

This reverts commit d298a3d2fd8ad447d308e67da1fbdfd4734d5670.