[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111103140716.GF19809@zod.bos.redhat.com>
Date: Thu, 3 Nov 2011 10:07:16 -0400
From: Josh Boyer <jwboyer@...hat.com>
To: Mauro Carvalho Chehab <mchehab@...hat.com>
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: sb_edac 32-bit compile fail due to 64-bit divide
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists