[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31066.1259919632@redhat.com>
Date: Fri, 04 Dec 2009 09:40:32 +0000
From: David Howells <dhowells@...hat.com>
To: Mike Frysinger <vapier@...too.org>
Cc: dhowells@...hat.com, uclinux-dev@...inux.org,
linux-kernel@...r.kernel.org, Greg Ungerer <gerg@...inux.org>,
uclinux-dist-devel@...ckfin.uclinux.org,
David McCullough <davidm@...pgear.com>
Subject: Re: [uClinux-dev] Re: [PATCH] FDPIC: respect PT_GNU_STACK exec markings when creating NOMMU stack
Mike Frysinger <vapier@...too.org> wrote:
> > + flush_icache_range(mm->brk, brk);
> > return mm->brk = brk;
> > }
>
> probably want mm->brk + brk for the second argument
Ummm... Why? mm->brk and brk are both addresses - note the return statement
where brk just gets assigned to mm->brk.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists