[PATCH] geode-aes: use unsigned long for spin_lock_irqsave
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 6 Mar 2007 09:42:13 +0000 (01:42 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 6 Mar 2007 17:30:25 +0000 (09:30 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/crypto/geode-aes.c

index 0eb62841e9b0bd6f207bdb0c159709318919bff4..6d3840e629de550c0b3de37a2090788cb6180351 100644 (file)
@@ -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;