1. 19 6月, 2009 1 次提交
    • A
      asm-generic: hook up new system calls · fcec9bf1
      Arnd Bergmann 提交于
      sys_rt_tgsigqueueinfo and sys_perf_counter_open
      have been added in 2.6.31, so hook them up in the
      generic unistd.h file.
      
      Since the file is now in the mainline kernel, we
      are no longer reordering the numbers but just add
      system calls at the end.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      fcec9bf1
  2. 12 6月, 2009 1 次提交
    • A
      asm-generic: add a generic unistd.h · e64a1617
      Arnd Bergmann 提交于
      A new architecture should only define a minimal set of system
      calls while still providing the full functionality. This version
      of unistd.h has gone through intensive review to make sure that
      by default it only enables syscalls that do not already have
      a more featureful replacement.
      
      It is modeled after the x86-64 version of unistd.h, which unifies
      the syscall number definition and the actual system call table
      in a single file, in order to keep them synchronized much more
      easily.
      
      This first version still keeps legacy system call definitions
      around, guarded by various #ifdefs, and with numbers larger
      than 1024. The idea behind this is to make it easier for
      new architectures to transition from a full list to the reduced
      set. In particular, the new microblaze architecture that should
      migrate to using the generic ABI headers can at least use an
      existing uClibc source tree without major rewrites during the
      conversion.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      e64a1617