Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261563AbVCORbB (ORCPT ); Tue, 15 Mar 2005 12:31:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261543AbVCOR3L (ORCPT ); Tue, 15 Mar 2005 12:29:11 -0500 Received: from fire.osdl.org ([65.172.181.4]:26522 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261563AbVCOR2Y (ORCPT ); Tue, 15 Mar 2005 12:28:24 -0500 Message-ID: <42371B00.7040204@osdl.org> Date: Tue, 15 Mar 2005 09:27:28 -0800 From: "Randy.Dunlap" Organization: OSDL User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Evgeniy Polyakov CC: linux-kernel@vger.kernel.org, Fruhwirth Clemens , Herbert Xu , cryptoapi@lists.logix.cz, James Morris , David Miller , Andrew Morton Subject: Re: [16/many] acrypto: crypto_user.h References: <11102278551459@2ka.mipt.ru> In-Reply-To: <11102278551459@2ka.mipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 854 Lines: 29 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 > + * > + */ > + > +#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/