On Wed, Apr 27, 2016 at 02:13:01AM +, Zengtao (B) wrote:
> Suzuki K Poulose wrote:
> > On 26/04/16 03:21, Zengtao (B) wrote:
> > > So you mean the 64-bit grep should see the same cpuinfo as its father
> > > process
> > > which is 32-bit?
> > >
> > > For 32-bit process running on 64-bit kernel,
m.com;
> linux-arm-ker...@lists.infradead.org
> Subject: Re: [PATCH] arm64: fix /proc/cpuinfo for elf32
>
> On 26/04/16 03:21, Zengtao (B) wrote:
> >
> > So you mean the 64-bit grep should see the same cpuinfo as its father
> > process
> > which is 32-bit?
> &
On 26/04/16 03:21, Zengtao (B) wrote:
So you mean the 64-bit grep should see the same cpuinfo as its father process
which is 32-bit?
For 32-bit process running on 64-bit kernel, we have to explicitly call the
personality
syscall to get the right cpuinfo, but how to deal with the old 32-bit bin
.mo...@arm.com; linux-arm-ker...@lists.infradead.org
> Subject: Re: [PATCH] arm64: fix /proc/cpuinfo for elf32
>
> On Mon, Apr 25, 2016 at 11:37:33AM +0800, Zeng Tao wrote:
> > For elf32 thread, personality is used for arm32,
> > and thread_flag for arm64.
> >
&
On 2016-04-25 09:12, Catalin Marinas wrote:
> On Mon, Apr 25, 2016 at 11:37:33AM +0800, Zeng Tao wrote:
> > For elf32 thread, personality is used for arm32,
> > and thread_flag for arm64.
> >
> > Here personality is used for arm64, so fix it.
> >
> > Signed-off-by: Zeng Tao
> > ---
> > arch/arm
On Mon, Apr 25, 2016 at 11:37:33AM +0800, Zeng Tao wrote:
> For elf32 thread, personality is used for arm32,
> and thread_flag for arm64.
>
> Here personality is used for arm64, so fix it.
>
> Signed-off-by: Zeng Tao
> ---
> arch/arm64/kernel/cpuinfo.c | 2 +-
> 1 file changed, 1 insertion(+),
6 matches
Mail list logo