]> git.openfabrics.org - ~tnikolova/compat/.git/commit
compat: backport sign_extend32()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 11 Nov 2010 00:28:48 +0000 (16:28 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 11 Nov 2010 00:28:48 +0000 (16:28 -0800)
commitea54195721209a5cfc6ab4806e7fa1d61dc002ef
tree5e6c1a51a07bc291d8231f8660b4d48e328cc3c9
parent9adca90d70cb202906294a9b20666b6cca82417a
compat: backport sign_extend32()

commit 5faec21f3a6973219481394534ce0e5f17507d84
Author: Andreas Herrmann <andreas.herrmann3@amd.com>
Date:   Mon Aug 30 19:04:01 2010 +0000

    bitops: Provide generic sign_extend32 function

    This patch moves code out from wireless drivers where two different
    functions are defined in three code locations for the same purpose and
    provides a common function to sign extend a 32-bit value.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
include/linux/bitops.h