projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use vmalloc for large memory allocations
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index c5eee97309a3d0ed6d8f4b90781bf5479fde676d..73375cc3f8fbbe8adf36e22fef73daa50f729d07 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-14,7
+14,7
@@
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
- * $Id: yaffs_guts.h,v 1.1
5 2005-10-07 02:46:5
0 charles Exp $
+ * $Id: yaffs_guts.h,v 1.1
6 2005-10-09 07:55:0
0 charles Exp $
*/
#ifndef __YAFFS_GUTS_H__
*/
#ifndef __YAFFS_GUTS_H__
@@
-561,8
+561,9
@@
struct yaffs_DeviceStruct {
/* Block Info */
yaffs_BlockInfo *blockInfo;
/* Block Info */
yaffs_BlockInfo *blockInfo;
- int blockInfoAlt; /* was allocated using alternative strategy */
__u8 *chunkBits; /* bitmap of chunks in use */
__u8 *chunkBits; /* bitmap of chunks in use */
+ unsigned blockInfoAlt:1; /* was allocated using alternative strategy */
+ unsigned chunkBitsAlt:1; /* was allocated using alternative strategy */
int chunkBitmapStride; /* Number of bytes of chunkBits per block.
* Must be consistent with nChunksPerBlock.
*/
int chunkBitmapStride; /* Number of bytes of chunkBits per block.
* Must be consistent with nChunksPerBlock.
*/