26 Apr, 2006

1 commit


08 Feb, 2006

1 commit

  • With the latest 2.6.15 kernel builds for alpha on Debian, we ran into a
    problem with undefined references to __cmpxchg_called_with_bad_pointer() in
    a couple of kernel modules (xfs.ko and drm.ko; see
    http://bugs.debian.org/347556).

    It looks like people have been trying to out-clever each other wrt the
    definition of "inline" on this architecture :), with the result that
    __cmpxchg(), which must be inlined so the compiler can see its argument is
    const, is not guaranteed to be inlined. Indeed, it was not being inlined
    when building with -Os.

    The attached patch fixes the issue by adding an
    __attribute__((always_inline)) explicitly to the definition of __cmpxchg()
    instead of relying on redefines of "inline" elsewhere to make this happen.

    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steve Langasek
     

13 Jan, 2006

2 commits


26 Oct, 2005

1 commit

  • My alpha build is exploding because asm/atomic.h now needs smb_mb(), which is
    over in the (not included) system.h.

    I fear what will happen if I include system.h into atomic.h, so let's put the
    barriers into their own header file.

    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

24 Aug, 2005

1 commit

  • alpha xchg has to be a macro - alpha disables always_inline and if that
    puppy does not get inlined, we immediately blow up on undefined reference.
    Happens even on gcc3; with gcc4 that happens a _lot_.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

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