[PATCH] geode-aes: use unsigned long for spin_lock_irqsave
[powerpc.git] / drivers / crypto / geode-aes.c
index 0eb6284..6d3840e 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;