Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1205356

Re: [PATCH] m68k/coldfire: use PFN_DOWN macro

From Alexander Kuleshov <kuleshovmail@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] m68k/coldfire: use PFN_DOWN macro
Date 2015-08-11 20:20 +0200
Message-ID <pWmjw-4EE-15@gated-at.bofh.it> (permalink)
References <pWl45-2zU-3@gated-at.bofh.it> <pWlQt-3Oj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08-11-15, Geert Uytterhoeven wrote:
> Hi Alexander,
> 
> On Tue, Aug 11, 2015 at 6:57 PM, Alexander Kuleshov
> <kuleshovmail@gmail.com> wrote:
> > Replace ((x) >> PAGE_SHIFT) with the predefined PFN_DOWN macro.
> >
> > Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> > ---
> >  arch/m68k/coldfire/m54xx.c | 9 +++++----
> >  1 file changed, 5 insertions(+), 4 deletions(-)
> >
> > diff --git a/arch/m68k/coldfire/m54xx.c b/arch/m68k/coldfire/m54xx.c
> > index 075aaab..f7836c6 100644
> > --- a/arch/m68k/coldfire/m54xx.c
> > +++ b/arch/m68k/coldfire/m54xx.c
> > @@ -25,4 +25,5 @@
> >  #include <asm/m54xxgpt.h>
> >  #ifdef CONFIG_MMU
> >  #include <asm/mmu_context.h>
> > +#include <linux/pfn.h>
> >  #endif
> >
> >  /***************************************************************************/
> > @@ -91,1 +92,1 @@ static void __init mcf54xx_bootmem_alloc(void)
> 
> The numbers in the above line don't make sense?
> 

Hello Geert, Are you about `-91,1 +92,1....`? Or what numbers. If you are about
this, sorry for noise. I've checked the patch with the git apply --check and it
will return some errors.

If other things are normal I will resend correct patch.

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] m68k/coldfire: use PFN_DOWN macro Alexander Kuleshov <kuleshovmail@gmail.com> - 2015-08-11 19:00 +0200
  Re: [PATCH] m68k/coldfire: use PFN_DOWN macro Geert Uytterhoeven <geert@linux-m68k.org> - 2015-08-11 19:50 +0200
    Re: [PATCH] m68k/coldfire: use PFN_DOWN macro Alexander Kuleshov <kuleshovmail@gmail.com> - 2015-08-11 20:20 +0200
      Re: [PATCH] m68k/coldfire: use PFN_DOWN macro Geert Uytterhoeven <geert@linux-m68k.org> - 2015-08-11 21:10 +0200

csiph-web