mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Xuetao Guan" <gxt@mprc.pku.edu.cn>
To: "Guenter Roeck" <linux@roeck-us.net>
Cc: "Xuetao Guan" <gxt@mprc.pku.edu.cn>,
	linux-kernel@vger.kernel.org,
	"Dave Hansen" <dave.hansen@linux.intel.com>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Ingo Molnar" <mingo@kernel.org>
Subject: Re: [PATCH] unicore32: mm: Add missing parameter to  arch_vma_access_permitted
Date: Thu, 24 Mar 2016 08:38:54 +0800 (CST)	[thread overview]
Message-ID: <62869.117.114.135.40.1458779934.squirrel@mprc.pku.edu.cn> (raw)
In-Reply-To: <20160323202521.GA31744@roeck-us.net>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain;charset=gb2312, Size: 1872 bytes --]

> On Mon, Mar 21, 2016 at 07:47:29PM +0800, Xuetao Guan wrote:
>> > unicore32 fails to compile with the following errors.
>> >
>> > mm/memory.c: In function 鈥榑_handle_mm_faultéˆ&#65533;&#65533;:
>> > mm/memory.c:3381: error:
>> > 	too many arguments to function
>> 鈥榓rch_vma_access_permittedéˆ&#65533;&#65533;
>> > mm/gup.c: In function 鈥榗heck_vma_flagséˆ&#65533;&#65533;:
>> > mm/gup.c:456: error:
>> > 	too many arguments to function
>> 鈥榓rch_vma_access_permittedéˆ&#65533;&#65533;
>> > mm/gup.c: In function 鈥榲ma_permits_faultéˆ&#65533;&#65533;:
>> > mm/gup.c:640: error:
>> > 	too many arguments to function
>> 鈥榓rch_vma_access_permittedéˆ&#65533;&#65533;
>> >
>> > 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>
>>
>> Thanks.
>>
>> Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
>>
> Who is going to send the patch upstream ?
>
> Guenter

I will do. Thanks.

Xuetao

>
>> > ---
>> >  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;
>> > --
>> > 2.5.0
>> >
>>
>

  reply	other threads:[~2016-03-24  0:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21 11:20 Guenter Roeck
2016-03-21 11:47 ` Xuetao Guan
2016-03-23 20:25   ` Guenter Roeck
2016-03-24  0:38     ` Xuetao Guan [this message]
2016-04-24  0:09 ` Guenter Roeck
2016-04-24 12:44   ` Xuetao Guan

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=62869.117.114.135.40.1458779934.squirrel@mprc.pku.edu.cn \
    --to=gxt@mprc.pku.edu.cn \
    --cc=dave.hansen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®