Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6/cjktty.git] / arch / tile / include / hv / pagesize.h
blob58bed114fedd7212f3a9793fe41a8e6b52c49b36
1 /*
2 * Copyright 2010 Tilera Corporation. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation, version 2.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 * NON INFRINGEMENT. See the GNU General Public License for
12 * more details.
15 /**
16 * @file pagesize.h
19 #ifndef _HV_PAGESIZE_H
20 #define _HV_PAGESIZE_H
22 /** The log2 of the size of small pages, in bytes. This value should
23 * be verified at runtime by calling hv_sysconf(HV_SYSCONF_PAGE_SIZE_SMALL).
25 #define HV_LOG2_PAGE_SIZE_SMALL 16
27 /** The log2 of the size of large pages, in bytes. This value should be
28 * verified at runtime by calling hv_sysconf(HV_SYSCONF_PAGE_SIZE_LARGE).
30 #define HV_LOG2_PAGE_SIZE_LARGE 24
32 #endif /* _HV_PAGESIZE_H */