All of lore.kernel.org
 help / color / mirror / Atom feed
From: vladimir.murzin@arm.com (Vladimir Murzin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: entry: Remove dead code in sys_mmap2
Date: Fri, 1 Sep 2017 11:35:00 +0100	[thread overview]
Message-ID: <76c18ba8-081f-f842-8dd3-2d6fbffc2e26@arm.com> (raw)
In-Reply-To: <1502700269-24384-2-git-send-email-vladimir.murzin@arm.com>

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?

Vladimir
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

  reply	other threads:[~2017-09-01 10:35 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 [this message]
2017-09-01 23:05     ` Russell King - ARM Linux
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=76c18ba8-081f-f842-8dd3-2d6fbffc2e26@arm.com \
    --to=vladimir.murzin@arm.com \
    --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.