[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMo8Bf+d39UKeUHLcjBcT40Zwr4j9BY7uKaS23vn+nyyVZCMhw@mail.gmail.com>
Date: Wed, 24 Jul 2019 20:04:18 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: Mike Rapoport <rppt@...ux.ibm.com>
Cc: "open list:TENSILICA XTENSA PORT (xtensa)"
<linux-xtensa@...ux-xtensa.org>, Chris Zankel <chris@...kel.net>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] xtensa: remove free_initrd_mem
On Wed, Jul 24, 2019 at 7:11 AM Mike Rapoport <rppt@...ux.ibm.com> wrote:
>
> The xtensa free_initrd_mem() verifies that initrd is mapped and then
> frees its memory using free_reserved_area().
>
> The initrd is considered mapped when its memory was successfully reserved
> with mem_reserve().
>
> Resetting initrd_start to 0 in case of mem_reserve() failure allows to
> switch to generic free_initrd_mem() implementation.
>
> Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>
> ---
> arch/xtensa/kernel/setup.c | 9 +++------
> arch/xtensa/mm/init.c | 10 ----------
> 2 files changed, 3 insertions(+), 16 deletions(-)
Thanks, applied to my xtensa tree.
-- Max
Powered by blists - more mailing lists