~ubuntu-branches/ubuntu/saucy/linux-ti-omap4/saucy-proposed

« back to all changes in this revision

Viewing changes to arch/x86/include/asm/stat.h

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Stefan Bader, Upstream Kernel Changes
  • Date: 2012-08-15 17:17:43 UTC
  • Revision ID: package-import@ubuntu.com-20120815171743-h5wnuf51xe7pvdid
Tags: 3.5.0-207.13
[ Paolo Pisati ]

* Start new release

[ Stefan Bader ]

* (config) Enable getabis to use local package copies

[ Upstream Kernel Changes ]

* fixup: gargabe collect iva_seq[0|1] init
* [Config] enable all SND_OMAP_SOC_*s
* fixup: cm2xxx_3xxx.o is needed for omap2_cm_read|write_reg
* fixup: add some snd_soc_dai* helper functions
* fixup: s/snd_soc_dpcm_params/snd_soc_dpcm/g
* fixup: typo, no_host_mode and useless SDP4430 init
* fixup: enable again aess hwmod

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        unsigned long  __unused5;
26
26
};
27
27
 
 
28
/* We don't need to memset the whole thing just to initialize the padding */
 
29
#define INIT_STRUCT_STAT_PADDING(st) do {       \
 
30
        st.__unused4 = 0;                       \
 
31
        st.__unused5 = 0;                       \
 
32
} while (0)
 
33
 
28
34
#define STAT64_HAS_BROKEN_ST_INO        1
29
35
 
30
36
/* This matches struct stat64 in glibc2.1, hence the absolutely
63
69
        unsigned long long      st_ino;
64
70
};
65
71
 
 
72
/* We don't need to memset the whole thing just to initialize the padding */
 
73
#define INIT_STRUCT_STAT64_PADDING(st) do {             \
 
74
        memset(&st.__pad0, 0, sizeof(st.__pad0));       \
 
75
        memset(&st.__pad3, 0, sizeof(st.__pad3));       \
 
76
} while (0)
 
77
 
66
78
#else /* __i386__ */
67
79
 
68
80
struct stat {
87
99
        unsigned long   st_ctime_nsec;
88
100
        long            __unused[3];
89
101
};
 
102
 
 
103
/* We don't need to memset the whole thing just to initialize the padding */
 
104
#define INIT_STRUCT_STAT_PADDING(st) do {       \
 
105
        st.__pad0 = 0;                          \
 
106
        st.__unused[0] = 0;                     \
 
107
        st.__unused[1] = 0;                     \
 
108
        st.__unused[2] = 0;                     \
 
109
} while (0)
 
110
 
90
111
#endif
91
112
 
92
113
/* for 32bit emulation and 32 bit kernels */