Re: [16/many] acrypto: crypto_user.h

Randy.Dunlap
2005-03-15T17:31:01Z

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