1. 01 9月, 2005 4 次提交
    • N
      [ARM] 2865/2: fix fadvise64_64 syscall argument passing · 68d9102f
      Nicolas Pitre 提交于
      Patch from Nicolas Pitre
      
      The prototype for sys_fadvise64_64() is:
          long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
      The argument list is therefore as follows on legacy ABI:
      	fd: type int (r0)
      	offset: type long long (r1-r2)
      	len: type long long (r3-sp[0])
      	advice: type int (sp[4])
      With EABI this becomes:
      	fd: type int (r0)
      	offset: type long long (r2-r3)
      	len: type long long (sp[0]-sp[4])
      	advice: type int (sp[8])
      Not only do we have ABI differences here, but the EABI version requires
      one additional word on the syscall stack.
      To avoid the ABI mismatch and the extra stack space required with EABI
      this syscall is now defined with a different argument ordering
      on ARM as follows:
          long sys_arm_fadvise64_64(int fd, int advice, loff_t offset, loff_t len)
      This gives us the following ABI independent argument distribution:
      	fd: type int (r0)
      	advice: type int (r1)
      	offset: type long long (r2-r3)
      	len: type long long (sp[0]-sp[4])
      Now, since the syscall entry code takes care of 5 registers only by
      default including the store of r4 to the stack, we need a wrapper to
      store r5 to the stack as well.  Because that wrapper was missing and was
      always required this means that sys_fadvise64_64 never worked on ARM and
      therefore we can safely reuse its syscall number for our new
      sys_arm_fadvise64_64 interface.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      68d9102f
    • D
      [ARM] 2869/1: ixp4xx: correct ioread*/iowrite* · 147056fb
      David Vrabel 提交于
      Patch from David Vrabel
      
      Correct the ioread* and iowrite* functions.  In particular, add an offset to the cookie in ioport_map so we can map I/O port ranges starting from 0 (0 is for reporting errors).
      Signed-off-by: NDavid Vrabel <dvrabel@arcom.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      147056fb
    • C
      [ARM] 2868/1: Include linux/cpumask.h in arch/arm/common/gic.c · dcb86e8c
      Catalin Marinas 提交于
      Patch from Catalin Marinas
      
      Minor compilation error fix.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      dcb86e8c
    • S
      [ARM] 2867/2: unaligned ldrd/strd fixups · f21ee2d4
      Steve Longerbeam 提交于
      Patch from Steve Longerbeam
      
      Adds an implementation of unaligned LDRD and STRD fixups.
      Also fixes a bug where do_alignment() would misinterpret and
      fixup an unaligned LDRD/STRD as LDRH/STRH, causing memory
      corruption.
      This is the same as Patch #2867/1, but with minor whitespace
      and comments changes, plus a check for arch-level >= v5TE
      before printing ai_dword count in proc_alignment_read().
      Signed-off-by: NSteve Longerbeam <stevel@mwwireless.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      f21ee2d4
  2. 31 8月, 2005 1 次提交
  3. 30 8月, 2005 19 次提交
  4. 29 8月, 2005 5 次提交
  5. 28 8月, 2005 8 次提交
  6. 27 8月, 2005 3 次提交