Messages in this thread | | | Date | Tue, 15 Mar 2005 09:27:28 -0800 | From | "Randy.Dunlap" <> | Subject | Re: [16/many] acrypto: crypto_user.h |
| |
Evgeniy Polyakov wrote: > --- /tmp/empty/crypto_user.h 1970-01-01 03:00:00.000000000 +0300 > +++ ./acrypto/crypto_user.h 2005-03-07 20:35:36.000000000 +0300 > @@ -0,0 +1,52 @@ > +/* > + * crypto_user.h > + * > + * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru> > + * > + */ > + > +#ifndef __CRYPTO_USER_H > +#define __CRYPTO_USER_H > + > +#define MAX_DATA_SIZE 3 > +#define ALIGN_DATA_SIZE(size) ((size + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
ISTM that we need a generic round_up() function or macro in kernel.h.
a.out.h, reiserfs_fs.h, and ufs_fs.h all have their own round-up macros.
-- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |