aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2/os-linux.h
AgeCommit message (Collapse)AuthorFilesLines
2005-05-23[JFFS2] Core changes required to support JFFS2-on-Dataflash devices.Andrew Victor1-1/+4
DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). There are a few places in JFFS2 code where sector_size is used as a bitmask. A new macro (SECTOR_ADDR) was defined to calculate these sector addresses. For non-DataFlash devices, the original (faster) bitmask operation is still used. In scan.c, the EMPTY_SCAN_SIZE was a constant of 1024. Since this could be larger than the sector size of the DataFlash, this is now basically set to MIN(sector_size, 1024). Addition of a jffs2_is_writebuffered() macro. Signed-off-by: Andrew Victor <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds1-0/+217
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!