1. 11 Nov, 2005 1 commit
    • Benjamin Herrenschmidt's avatar
      [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel · a7f290da
      Benjamin Herrenschmidt authored
      
      This patch moves the vdso's to arch/powerpc, adds support for the 32
      bits vdso to the 32 bits kernel, rename systemcfg (finally !), and adds
      some new (still untested) routines to both vdso's: clock_gettime() with
      support for CLOCK_REALTIME and CLOCK_MONOTONIC, clock_getres() (same
      clocks) and get_tbfreq() for glibc to retreive the timebase frequency.
      
      Tom,Steve: The implementation of get_tbfreq() I've done for 32 bits
      returns a long long (r3, r4) not a long. This is such that if we ever
      add support for >4Ghz timebases on ppc32, the userland interface won't
      have to change.
      
      I have tested gettimeofday() using some glibc patches in both ppc32 and
      ppc64 kernels using 32 bits userland (I haven't had a chance to test a
      64 bits userland yet, but the implementation didn't change and was
      tested earlier). I haven't tested yet the new functions.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      a7f290da
  2. 22 Sep, 2005 1 commit
    • Kumar Gala's avatar
      [PATCH] powerpc: Fix compiling of ppc32 · fa2ac7a2
      Kumar Gala authored
      
      The merging of auxvec.h into asm-powerpc introduced the AT_SYSINFO_EHDR
      into the ppc32 build that is used for VDSO.  However, we dont have VDSO
      support in the ppc32 tree at this time.  Introducing this define causes
      a number of other things to get built with the assumption of VDSO, thus
      causing the compile errors for ppc32.
      
      Until we have VDSO on ppc32 we will leave AT_SYSINFO_EHDR a ppc64 only
      define.
      Signed-off-by: default avatarKumar K. Gala <kumar.gala@freescale.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      fa2ac7a2
  3. 21 Sep, 2005 1 commit
  4. 07 Sep, 2005 1 commit
    • H. J. Lu's avatar
      [PATCH] auxiliary vector cleanups · 36d57ac4
      H. J. Lu authored
      
      The size of auxiliary vector is fixed at 42 in linux/sched.h.  But it isn't
      very obvious when looking at linux/elf.h.  This patch adds AT_VECTOR_SIZE
      so that we can change it if necessary when a new vector is added.
      
      Because of include file ordering problems, doing this necessitated the
      extraction of the AT_* symbols into a standalone header file.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      36d57ac4