Re: [PATCH v9 02/17] h8300: UAPI headers

From: Yoshinori Sato
Date: Tue Apr 28 2015 - 05:25:56 EST


At Mon, 27 Apr 2015 10:43:14 +0200,
Arnd Bergmann wrote:
>
> On Monday 27 April 2015 14:35:09 Yoshinori Sato wrote:
> > diff --git a/arch/h8300/include/uapi/asm/auxvec.h b/arch/h8300/include/uapi/asm/auxvec.h
> > new file mode 100644
> > index 0000000..1d36fe38
> > --- /dev/null
> > +++ b/arch/h8300/include/uapi/asm/auxvec.h
> > @@ -0,0 +1,4 @@
> > +#ifndef __ASMH8300_AUXVEC_H
> > +#define __ASMH8300_AUXVEC_H
> > +
> > +#endif
>
> > diff --git a/arch/h8300/include/uapi/asm/swab.h b/arch/h8300/include/uapi/asm/swab.h
> > new file mode 100644
> > index 0000000..7847e56
> > --- /dev/null
> > +++ b/arch/h8300/include/uapi/asm/swab.h
> > @@ -0,0 +1 @@
> > +#include <asm-generic/swab.h>
>
>
> Two more files that you can just use in the generic version here.

Yes.
Use generic version.

> > diff --git a/arch/h8300/include/uapi/asm/signal.h b/arch/h8300/include/uapi/asm/signal.h
> > new file mode 100644
> > index 0000000..af3a6c3
> > --- /dev/null
> > +++ b/arch/h8300/include/uapi/asm/signal.h
>
> I think you should use the asm-generic version here, not just to make your
> code smaller, but also to ensure you have the gneeric ABI.
>
> Arnd

I forgat convert.
I think can use generic verison.

Thanks.

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