1. 21 Jun, 2009 2 commits
    • Linus Torvalds's avatar
      Remove internal use of 'write_access' in mm/memory.c · 30c9f3a9
      Linus Torvalds authored
      The fault handling routines really want more fine-grained flags than a
      single "was it a write fault" boolean - the callers will want to set
      flags like "you can return a retry error" etc.
      
      And that's actually how the VM works internally, but right now the
      top-level fault handling functions in mm/memory.c all pass just the
      'write_access' boolean around.
      
      This switches them over to pass around the FAULT_FLAG_xyzzy 'flags'
      variable instead.  The 'write_access' calling convention still exists
      for the exported 'handle_mm_fault()' function, but that is next.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      30c9f3a9
    • Johannes Weiner's avatar
      ipc: unbreak 32-bit shmctl/semctl/msgctl · 232086b1
      Johannes Weiner authored
      31a985f "ipc: use __ARCH_WANT_IPC_PARSE_VERSION in ipc/util.h" would
      choose the implementation of ipc_parse_version() based on a symbol
      defined in <asm/unistd.h>.
      
      But it failed to also include this header and thus broke
      IPC_64-passing 32-bit userspace because the flag wasn't masked out
      properly anymore and the command not understood.
      
      Include <linux/unistd.h> to give the architecture a chance to ask for
      the no-no-op ipc_parse_version().
      Signed-off-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      232086b1
  2. 20 Jun, 2009 38 commits