public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sb_edac 32-bit compile fail due to 64-bit divide
@ 2011-11-03 14:07 Josh Boyer
  2011-11-03 14:32 ` Mauro Carvalho Chehab
  2011-11-07 21:29 ` [PATCH] Fix sb_edac compilation with 32 bits kernels Mauro Carvalho Chehab
  0 siblings, 2 replies; 11+ messages in thread
From: Josh Boyer @ 2011-11-03 14:07 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-edac, linux-kernel

Hi,

It seems the newly added EDAC driver for SandyBridge won't build on
32-bit x86 because of a 64-bit divide somewhere:

	drivers/edac/sb_edac.c: In function 'get_memory_error_data':
	drivers/edac/sb_edac.c:861:2: warning: left shift count >= width of type
	[enabled by default]
	<snip>
	ERROR: "__udivdi3" [drivers/edac/sb_edac.ko] undefined!
	make[1]: *** [__modpost] Error 1
	make: *** [modules] Error 2

You can find the full build log here:

http://koji.fedoraproject.org/koji/getfile?taskID=3482579&name=build.log

Before I go digging into where this is done and what to do about it, I
do want to confirm that it is supposed to work on a 32-bit kernel,
correct?

josh

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-11-07 21:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 14:07 sb_edac 32-bit compile fail due to 64-bit divide Josh Boyer
2011-11-03 14:32 ` Mauro Carvalho Chehab
2011-11-03 14:43   ` Josh Boyer
2011-11-03 16:31     ` Luck, Tony
2011-11-03 17:41       ` Mauro Carvalho Chehab
2011-11-03 17:48         ` Josh Boyer
2011-11-03 17:51           ` Mauro Carvalho Chehab
2011-11-03 17:20     ` Mauro Carvalho Chehab
2011-11-07 21:29 ` [PATCH] Fix sb_edac compilation with 32 bits kernels Mauro Carvalho Chehab
2011-11-07 21:37   ` Josh Boyer
2011-11-07 21:54     ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox