[PATCH] i386: change the 'no_control' field to 'hotpluggable' in the struct cpu
[linux-2.6/x86.git] / include / asm-avr32 / stat.h
blobe72881e10230506e5adba38057738680234892e1
1 /*
2 * Copyright (C) 2004-2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8 #ifndef __ASM_AVR32_STAT_H
9 #define __ASM_AVR32_STAT_H
11 struct __old_kernel_stat {
12 unsigned short st_dev;
13 unsigned short st_ino;
14 unsigned short st_mode;
15 unsigned short st_nlink;
16 unsigned short st_uid;
17 unsigned short st_gid;
18 unsigned short st_rdev;
19 unsigned long st_size;
20 unsigned long st_atime;
21 unsigned long st_mtime;
22 unsigned long st_ctime;
25 struct stat {
26 unsigned long st_dev;
27 unsigned long st_ino;
28 unsigned short st_mode;
29 unsigned short st_nlink;
30 unsigned short st_uid;
31 unsigned short st_gid;
32 unsigned long st_rdev;
33 unsigned long st_size;
34 unsigned long st_blksize;
35 unsigned long st_blocks;
36 unsigned long st_atime;
37 unsigned long st_atime_nsec;
38 unsigned long st_mtime;
39 unsigned long st_mtime_nsec;
40 unsigned long st_ctime;
41 unsigned long st_ctime_nsec;
42 unsigned long __unused4;
43 unsigned long __unused5;
46 #define STAT_HAVE_NSEC 1
48 struct stat64 {
49 unsigned long long st_dev;
51 unsigned long long st_ino;
52 unsigned int st_mode;
53 unsigned int st_nlink;
55 unsigned long st_uid;
56 unsigned long st_gid;
58 unsigned long long st_rdev;
60 long long st_size;
61 unsigned long __pad1; /* align 64-bit st_blocks */
62 unsigned long st_blksize;
64 unsigned long long st_blocks; /* Number 512-byte blocks allocated. */
66 unsigned long st_atime;
67 unsigned long st_atime_nsec;
69 unsigned long st_mtime;
70 unsigned long st_mtime_nsec;
72 unsigned long st_ctime;
73 unsigned long st_ctime_nsec;
75 unsigned long __unused1;
76 unsigned long __unused2;
79 #endif /* __ASM_AVR32_STAT_H */