From: Alexey Dobriyan Date: Tue, 6 Mar 2007 09:42:13 +0000 (-0800) Subject: [PATCH] geode-aes: use unsigned long for spin_lock_irqsave X-Git-Tag: v2.6.21-rc3~37 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5efee174f8a101cafb1607d2b629bed353701457;p=linux-2.6-omap-h63xx.git [PATCH] geode-aes: use unsigned long for spin_lock_irqsave Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c index 0eb62841e9b..6d3840e629d 100644 --- a/drivers/crypto/geode-aes.c +++ b/drivers/crypto/geode-aes.c @@ -99,9 +99,8 @@ do_crypt(void *src, void *dst, int len, u32 flags) static unsigned int geode_aes_crypt(struct geode_aes_op *op) { - u32 flags = 0; - int iflags; + unsigned long iflags; if (op->len == 0 || op->src == op->dst) return 0;