30 Apr, 2008

1 commit

  • Fix up the contents of so that it doesn't export a
    content-free generic.h to user space. This involves:

    * Removing the __KERNEL__ tests from generic.h and dropping it from
    Kbuild.
    * Wrapping the inclusions of generic.h in both big_endian.h and
    little_endian.h in __KERNEL__ tests.
    * Shifting big_endian.h and little_endian.h from header-y to
    unifdef-y in Kbuild.

    Signed-off-by: Robert P. J. Day
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     

09 Feb, 2008

1 commit

  • This patchset moves le*_add_cpu and be*_add_cpu functions from OCFS2 to core
    header (1st), converts ext3 filesystem to this API (2nd) and replaces XFS
    different named functions with new ones (3rd).

    There are many places where these functions will be useful. Just look at:
    grep -r 'cpu_to_[ble12346]*([ble12346]*_to_cpu.*[-+]' linux-src/ Patch for
    ext3 is an example how conversions will probably look like.

    This patch:

    - move inline functions which add native byte order variable to
    little/big endian variable to core header
    * le16_add_cpu(__le16 *var, u16 val)
    * le32_add_cpu(__le32 *var, u32 val)
    * le64_add_cpu(__le64 *var, u64 val)
    * be32_add_cpu(__be32 *var, u32 val)
    - add for completeness:
    * be16_add_cpu(__be16 *var, u16 val)
    * be64_add_cpu(__be64 *var, u64 val)

    Signed-off-by: Marcin Slusarz
    Acked-by: Mark Fasheh
    Cc: David Chinner
    Cc: Timothy Shimmin
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marcin Slusarz
     

09 May, 2007

1 commit

  • It is sometimes useful to compile individual drivers with optimization
    disabled for easier debugging. Currently drivers which use htonl() and
    similar functions don't compile with -O0. This patch fixes it. It also
    removes obsolete and misleading comments. This header is not for
    userspace, so we don't have to care about strange programs these comments
    mention.

    (akpm: -O0 probably isn't a good idea, but this code looks pretty crufty and
    unuseful)

    Signed-off-by: Michal Schmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michal Schmidt
     

09 Jan, 2006

1 commit

  • Remove various things which were checking for gcc-1.x and gcc-2.x compilers.

    From: Adrian Bunk

    Some documentation updates and removes some code paths for gcc < 3.2.

    Acked-by: Russell King
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

20 Sep, 2005

1 commit


17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds