1. 06 3月, 2012 1 次提交
    • J
      openrisc: sanitize use of orig_gpr11 · 6cbe5e95
      Jonas Bonn 提交于
      The pt_regs struct had both a 'syscallno' field and an 'orig_gpr11' field
      and it wasn't really clear how these were supposed to be used.  This patch
      removes the syscallno field altogether and makes orig_gpr11 work more
      like other architectures: keep track of syscall number in progress or
      hold -1 for non-syscall exceptions.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      6cbe5e95
  2. 23 7月, 2011 1 次提交
    • J
      OpenRISC: System calls · 09abb901
      Jonas Bonn 提交于
      The OpenRISC Linux kernel conforms to the "generic" syscall interface which
      contains only the reduced set of syscalls deemed necessary for new
      architectures.  Unfortunately, the uClibc port for OpenRISC does not fully
      support this reduced set; as such, an additional patch available out-of-tree
      needs to be applied to the kernel in order to use the current uClibc.  This
      is just a temporary measure until the libc port can be straightened out; it
      is likely that OpenRISC will make the transition to glibc shortly where the
      generic syscall interface is better supported.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      09abb901