Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1385757
| Path | csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Guenter Roeck <linux@roeck-us.net> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted |
| Date | Sun, 24 Apr 2016 02:10:01 +0200 |
| Message-ID | <rrfMB-3u5-1@gated-at.bofh.it> (permalink) |
| References | <rf6c2-4QM-17@gated-at.bofh.it> |
| X-Original-To | Guan Xuetao <gxt@mprc.pku.edu.cn> |
| Dkim-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=DSnWWo2FrpqrEfYPUadWcq9qqIo/wMKlFmTjLLGgtAI=; b=xSszTmqBdcS9KCiHPfzQoAwDVI pH7vE4FcRBqYuTltNuNkxdS+SSSN6n175Z3YZxR54merPadBniMMLiWxJOhGqlT+A5ypPOkAn0BOy NuYJxQftT3HLAWOxIybDrma9DYmuNKUsMSjubbkX3/LfG2Iibk+YSk9RJcrSLLvxzt/3scLyAJCl9 ZumQifGgQAmPt4uoneW0xSRMSbIbOGXgFo7HIzc+bIKRU60OV8h3+m4hS3xJKXX00uslkDvvTTY6X kdc0YtQwKhyHro8bJOiZDfw4ry56JbUoFmhsNhmZK/NFugZg0Z2Yj5g2Z1lLkMwcFqSALltrj8FO6 bg7Isa6A==; |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Authenticated_Sender | linux@roeck-us.net |
| X-Outgoing-Spam-Status | No, score=-1.0 |
| X-Antiabuse | This header was added to track abuse, please include it with any abuse report |
| X-Antiabuse | Primary Hostname - bh-25.webhostbox.net |
| X-Antiabuse | Original Domain - vger.kernel.org |
| X-Antiabuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-Antiabuse | Sender Address Domain - roeck-us.net |
| X-Get-Message-Sender-Via | bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net |
| X-Authenticated-Sender | bh-25.webhostbox.net: linux@roeck-us.net |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Dave Hansen <dave.hansen@linux.intel.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@kernel.org> |
| X-Original-Date | Sat, 23 Apr 2016 17:09:09 -0700 |
| X-Original-Message-ID | <571C0EA5.3090104@roeck-us.net> |
| X-Original-References | <1458559253-422-1-git-send-email-linux@roeck-us.net> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1385757 |
Show key headers only | View raw
ping ... still not upstream.
On 03/21/2016 04:20 AM, Guenter Roeck wrote:
> unicore32 fails to compile with the following errors.
>
> mm/memory.c: In function ‘__handle_mm_fault’:
> mm/memory.c:3381: error:
> too many arguments to function ‘arch_vma_access_permitted’
> mm/gup.c: In function ‘check_vma_flags’:
> mm/gup.c:456: error:
> too many arguments to function ‘arch_vma_access_permitted’
> mm/gup.c: In function ‘vma_permits_fault’:
> mm/gup.c:640: error:
> too many arguments to function ‘arch_vma_access_permitted’
>
> Fixes: d61172b4b695b ("mm/core, x86/mm/pkeys: Differentiate instruction fetches")
> Cc: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> arch/unicore32/include/asm/mmu_context.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/unicore32/include/asm/mmu_context.h b/arch/unicore32/include/asm/mmu_context.h
> index e35632ef23c7..62dfc644c908 100644
> --- a/arch/unicore32/include/asm/mmu_context.h
> +++ b/arch/unicore32/include/asm/mmu_context.h
> @@ -98,7 +98,7 @@ static inline void arch_bprm_mm_init(struct mm_struct *mm,
> }
>
> static inline bool arch_vma_access_permitted(struct vm_area_struct *vma,
> - bool write, bool foreign)
> + bool write, bool execute, bool foreign)
> {
> /* by default, allow everything */
> return true;
>
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted Guenter Roeck <linux@roeck-us.net> - 2016-04-24 02:10 +0200 Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted "Xuetao Guan" <gxt@mprc.pku.edu.cn> - 2016-04-24 14:50 +0200
csiph-web