All of lore.kernel.org
 help / color / mirror / Atom feed
From: linux@armlinux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: entry: Remove dead code in sys_mmap2
Date: Sat, 2 Sep 2017 00:05:51 +0100	[thread overview]
Message-ID: <20170901230551.GW20805@n2100.armlinux.org.uk> (raw)
In-Reply-To: <76c18ba8-081f-f842-8dd3-2d6fbffc2e26@arm.com>

On Fri, Sep 01, 2017 at 11:35:00AM +0100, Vladimir Murzin wrote:
> On 14/08/17 09:44, Vladimir Murzin wrote:
> > We support page size of 4K only, remove dead code.
> >
> > Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
> > ---
> >  arch/arm/kernel/entry-common.S | 9 ---------
> >  1 file changed, 9 deletions(-)
> >
> > diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
> > index eb5cd77..52237ce 100644
> > --- a/arch/arm/kernel/entry-common.S
> > +++ b/arch/arm/kernel/entry-common.S
> > @@ -371,17 +371,8 @@ ENDPROC(sys_fstatfs64_wrapper)
> >   * offset, we return EINVAL.
> >   */
> >  sys_mmap2:
> > -#if PAGE_SHIFT > 12
> > -             tst     r5, #PGOFF_MASK
> > -             moveq   r5, r5, lsr #PAGE_SHIFT - 12
> > -             streq   r5, [sp, #4]
> > -             beq     sys_mmap_pgoff
> > -             mov     r0, #-EINVAL
> > -             ret     lr
> > -#else
> >               str     r5, [sp, #4]
> >               b       sys_mmap_pgoff
> > -#endif
> >  ENDPROC(sys_mmap2)
> >
> >  #ifdef CONFIG_OABI_COMPAT
> >
> 
> Ok for patch tracker?

Yep.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up

  reply	other threads:[~2017-09-01 23:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14  8:44 [PATCH] ARM: Remove leftover of fixmap_page_table Vladimir Murzin
2017-08-14  8:44 ` [PATCH] ARM: entry: Remove dead code in sys_mmap2 Vladimir Murzin
2017-09-01 10:35   ` Vladimir Murzin
2017-09-01 23:05     ` Russell King - ARM Linux [this message]
2017-08-14  8:44 ` [PATCH] ARM: mm: Remove dead code in mem_init() Vladimir Murzin
2017-09-01 10:35   ` Vladimir Murzin
2017-09-01 23:06     ` Russell King - ARM Linux
2017-09-01 10:34 ` [PATCH] ARM: Remove leftover of fixmap_page_table Vladimir Murzin
2017-09-01 23:05   ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170901230551.GW20805@n2100.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.