lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.114 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site