2010-04-14 02:35:53 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2006, Haiku, Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Axel Dörfler, axeld@pinc-software.de
|
|
|
|
*/
|
|
|
|
#ifndef UTILITY_H
|
|
|
|
#define UTILITY_H
|
|
|
|
|
2012-07-31 21:10:05 +04:00
|
|
|
|
2010-04-14 02:35:53 +04:00
|
|
|
#define ROUND_TO_PAGE_SIZE(x) (((x) + (B_PAGE_SIZE) - 1) & ~((B_PAGE_SIZE) - 1))
|
|
|
|
|
2012-07-31 21:10:05 +04:00
|
|
|
|
2010-04-14 02:35:53 +04:00
|
|
|
#endif /* UTILITY_H */
|