blob: d5df7a012762b2354212ba8e3a31b324e75e3107 [file] [log] [blame]
Elliott Hughesc0af6952013-10-01 11:06:56 -07001/*
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08002** Copyright 2006-2008, The Android Open Source Project
3**
4** Redistribution and use in source and binary forms, with or without
5** modification, are permitted provided that the following conditions are met:
6** * Redistributions of source code must retain the above copyright
7** notice, this list of conditions and the following disclaimer.
8** * Redistributions in binary form must reproduce the above copyright
9** notice, this list of conditions and the following disclaimer in the
10** documentation and/or other materials provided with the distribution.
11** * Neither the name of Google Inc. nor the names of its contributors may
12** be used to endorse or promote products derived from this software
13** without specific prior written permission.
14**
15** THIS SOFTWARE IS PROVIDED BY Google Inc. ``AS IS'' AND ANY EXPRESS OR
16** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
17** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
18** EVENT SHALL Google Inc. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20** PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21** OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22** WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23** OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24** ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*/
26#ifndef _ARCH_X86_KERNEL_H
27#define _ARCH_X86_KERNEL_H
28
29/* this file contains kernel-specific definitions that were optimized out of
30 our processed kernel headers, but still useful nonetheless... */
31
32typedef unsigned long __kernel_blkcnt_t;
33typedef unsigned long __kernel_blksize_t;
34
35/* these aren't really defined by the kernel headers though... */
36typedef unsigned long __kernel_fsblkcnt_t;
37typedef unsigned long __kernel_fsfilcnt_t;
38typedef unsigned int __kernel_id_t;
39
40#endif /* _ARCH_X86_KERNEL_H */