]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
EDAC, MCE: Use BIT_64() to eliminate warnings on 32-bit
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 13 Nov 2010 16:44:26 +0000 (11:44 -0500)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:54:25 +0000 (11:54 +0100)
commit50adbbd8a8e572ad2533eace228c841ec84028a3
tree34df56e03f29790ed6b16b73cf25d2a5793f0b05
parentbad11e031862294265145d87dd4be1ae4af0d57f
EDAC, MCE: Use BIT_64() to eliminate warnings on 32-bit

Building for X86_32 produces shift count warnings, so use BIT_64() to
eliminate the warnings.

drivers/edac/mce_amd.c:778: warning: left shift count >= width of type
drivers/edac/mce_amd.c:778: warning: left shift count >= width of type

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: bluesmoke-devel@lists.sourceforge.net
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/mce_amd.c