1. 01 Sep, 2004 3 commits
    • Linus Torvalds's avatar
      Use "ifdef" rather than "if" to test for __KERNEL__ · 6ce8ea8a
      Linus Torvalds authored
      Both work, but the latter can cause warnings in user space
      from compilers that don't like using undefined identifiers
      in preprocessor expressions (quite reasonable).
      
      Pointed out by Randy Dunlap.
      6ce8ea8a
    • Tom Rini's avatar
      [PATCH] ppc32: fix the 'checkbin' target · 21366d93
      Tom Rini authored
      The checkbin target on PPC32 isn't quite right.
      
      First, one of the tests (to ensure that some instructions are known to
      gas) is never actually invoked because 'checkbin' doesn't know about
      stuff set in .config, so we always have the 'else' case run.  This
      changes to always running the test and telling the user to upgrade to at
      least binutils 2.12.1.
      
      The next problem is that we were doing $(AS) -o /dev/null ...  in both
      that test, as well as another.  The problem here is that the checkbin
      target is run on the install targets, meaning that /dev/null will get
      unlinked when the test passes.  To get around this we use .tmp_gas_check
      as the output file instead.
      
      Acked by Sam.
      Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      21366d93
    • Alexander Viro's avatar
      [PATCH] nfs ->follow_link() switched to new scheme · 66ce1c75
      Alexander Viro authored
      NFS takes some thought to switch to the new symlink scheme, because we
      can't rely on the pagecache lookup to find the symlink page when freeing
      it - the cache might have been invalidated in the meantime. 
      
      So we hide the page information in the symlink data area itself,
      by stealing the last pointer in the page used for the cache. That
      way nfs_put_link() can just look up the page directly.
      Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      66ce1c75
  2. 31 Aug, 2004 37 commits