Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391302

Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return
Date 2016-04-29 19:40 +0200
Message-ID <rtkyu-1rQ-3@gated-at.bofh.it> (permalink)
References <rkHkD-2hR-23@gated-at.bofh.it> <rkHuj-2lA-45@gated-at.bofh.it> <rtj9o-xI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Friday 29 April 2016 17:01:55 Catalin Marinas wrote:
> On Wed, Apr 06, 2016 at 01:08:46AM +0300, Yury Norov wrote:
> > ILP32 VDSO exports next symbols:
> >  __kernel_rt_sigreturn;
> >  __kernel_gettimeofday;
> >  __kernel_clock_gettime;
> >  __kernel_clock_getres;
> 
> [...]
> 
> > +$(obj)/gettimeofday-ilp32.o: $(src)/../vdso/gettimeofday.S
> > +	$(call if_changed_dep,vdso-ilp32as)
> 
> Are struct timeval and timespec the same between ILP32 and LP64? For
> example, __kernel_gettimeofday() assumes TVAL_TV_SEC offset defined in
> asm-offsets.c based on the LP64 timeval.

No, ilp32 uses the generic 32-bit data structures, which have a 32-bit
time_t. I guess that means it can work for little-endian but not
big-endian, right?

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return Catalin Marinas <catalin.marinas@arm.com> - 2016-04-29 18:10 +0200
  Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return Arnd Bergmann <arnd@arndb.de> - 2016-04-29 19:40 +0200
    Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return Arnd Bergmann <arnd@arndb.de> - 2016-05-03 11:10 +0200
      Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return "Zhangjian (Bamvor)" <bamvor.zhangjian@huawei.com> - 2016-05-03 13:20 +0200
        Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return "Zhangjian (Bamvor)" <bamvor.zhangjian@huawei.com> - 2016-05-03 14:50 +0200
          Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return Yury Norov <ynorov@caviumnetworks.com> - 2016-05-05 00:00 +0200
            Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return Andrew Pinski <pinskia@gmail.com> - 2016-05-05 01:30 +0200
              Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return "Zhangjian (Bamvor)" <bamvor.zhangjian@huawei.com> - 2016-05-05 04:30 +0200
                Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return Andrew Pinski <pinskia@gmail.com> - 2016-05-05 08:50 +0200
                Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return "Zhangjian (Bamvor)" <bamvor.zhangjian@huawei.com> - 2016-05-09 12:20 +0200
          Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return Yury Norov <ynorov@caviumnetworks.com> - 2016-05-05 10:30 +0200
    Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal  return Catalin Marinas <catalin.marinas@arm.com> - 2016-05-03 11:10 +0200

csiph-web