From: Klaus Kudielka Date: Tue, 8 May 2007 07:26:25 +0000 (-0700) Subject: fix cyclades.h for x86_64 (and probably others) X-Git-Tag: v2.6.22-rc1~739 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4e95bf483231d55bc0d491bc585bb9b7e852b8;p=pandora-kernel.git fix cyclades.h for x86_64 (and probably others) At least on x86_64 the present cyclades.h is broken due to the wrong size of uclong. This affects, of course, both the kernel and the user-level utilities. The symptom is that cyzload refuses to load the firmware. I also managed to freeze the machine when unloading the module. The patch below fixes this in an architecture-independent way. I have tested it with 2.6.19 and the driver works fine again with a Cyclades-Z on an Athlon 64 X2. [akpm@linux-foundation.org: fix warnings] Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed