[POWERPC] spufs: fix possible memory corruption is spufs_mem_write
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / ncp_no.h
blobf56a696a7cc62a48b9a477740ca4df296b83e87d
1 #ifndef _NCP_NO
2 #define _NCP_NO
4 /* these define the attribute byte as seen by NCP */
5 #define aRONLY (__constant_cpu_to_le32(1))
6 #define aHIDDEN (__constant_cpu_to_le32(2))
7 #define aSYSTEM (__constant_cpu_to_le32(4))
8 #define aEXECUTE (__constant_cpu_to_le32(8))
9 #define aDIR (__constant_cpu_to_le32(0x10))
10 #define aARCH (__constant_cpu_to_le32(0x20))
11 #define aSHARED (__constant_cpu_to_le32(0x80))
12 #define aDONTSUBALLOCATE (__constant_cpu_to_le32(1L<<11))
13 #define aTRANSACTIONAL (__constant_cpu_to_le32(1L<<12))
14 #define aPURGE (__constant_cpu_to_le32(1L<<16))
15 #define aRENAMEINHIBIT (__constant_cpu_to_le32(1L<<17))
16 #define aDELETEINHIBIT (__constant_cpu_to_le32(1L<<18))
17 #define aDONTCOMPRESS (__constant_cpu_to_le32(1L<<27))
19 #endif /* _NCP_NO */