drivers/char/mem.c: avoid OOM lockup during large reads from /dev/zero
[safe/jmp/linux-2.6] / drivers / crypto / padlock.h
index e2ee3b6..b728e45 100644 (file)
 
 #define PADLOCK_ALIGNMENT 16
 
-/* Control word. */
-struct cword {
-       unsigned int __attribute__ ((__packed__))
-               rounds:4,
-               algo:3,
-               keygen:1,
-               interm:1,
-               encdec:1,
-               ksize:2;
-} __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
-
 #define PFX    "padlock: "
 
+#define PADLOCK_CRA_PRIORITY   300
+#define PADLOCK_COMPOSITE_PRIORITY 400
+
 #endif /* _CRYPTO_PADLOCK_H */