Further integration of 64-bit time changes Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Akiko: Fix Yaffs Linux compilation for 4.9 to 4.19 Thanks Akiko for supplying this patch Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Fix copyright Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Split out low level init code for making low level tests Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Update year to 2011 in copyrights etc. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Replace YBUG() with BUG() Also clean a few other things in yportenv_xxxx.h Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Reformatting to be kernel friendly. Passes checkpatch.pl Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Fix trace ALWAYS problem and moduleconfig.h dependency The yaffs trace macro was always tracing. Fixed by no longer forcing ALWAYS on. Only include moduleconfig.h if compiling out of tree. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: More cleanup of tracing, inlines and general formatting Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs Change tracing to yaffs_trace Make the tracing a whole lot easier on the eye. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Remove a whole lot of function wrappers and forward declarations Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Refactor bit counting code For Linux kernel we use hweight8() and hweight32(). This allows use of special bit-counting code instructions in processors that do this. The yaffs direct we now only use one set of code. There were two. NB On x86 the yaffs hweight8 code is actually a lot faster than the sofwtare implementation in Linux kernel. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Redo Lindent Only applies to Linux files. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: More clean up. Signed-off-by: Charles Manning <cdhmanning@gmail.com>