>From a first look, there are quite some places in arch where sign extension is done. I append one example for review although I didn't even build this. Don't use it unreviewed!
I guess the doc-addition to sign_extend32() would be valuable for it to be used more often in long term. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/