Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-26 Thread Yury Norov
On Tue, Jul 26, 2022 at 04:57:38PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy Shevchenko wrote: > >> On Sun, Jul 24, 2022 at 12:19 AM Yury Norov wrote: > >> > > >> > archrandom.h includes to refer ppc_md. This causes > >> > circular

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-26 Thread Michael Ellerman
Yury Norov writes: > On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy Shevchenko wrote: >> On Sun, Jul 24, 2022 at 12:19 AM Yury Norov wrote: >> > >> > archrandom.h includes to refer ppc_md. This causes >> > circular header dependency, if generic nodemask.h includes random.h: >> > >> > In file

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-26 Thread Andy Shevchenko
On Tue, Jul 26, 2022 at 8:13 AM Andy Shevchenko wrote: > > On Tue, Jul 26, 2022 at 1:35 AM Yury Norov wrote: > > On Mon, Jul 25, 2022 at 11:39:39PM +0200, Andy Shevchenko wrote: > > > On Mon, Jul 25, 2022 at 6:19 PM Yury Norov wrote: > > > > On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-26 Thread Andy Shevchenko
On Tue, Jul 26, 2022 at 1:35 AM Yury Norov wrote: > On Mon, Jul 25, 2022 at 11:39:39PM +0200, Andy Shevchenko wrote: > > On Mon, Jul 25, 2022 at 6:19 PM Yury Norov wrote: > > > On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy Shevchenko wrote: > > > > On Sun, Jul 24, 2022 at 12:19 AM Yury Norov

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Michael Ellerman
Yury Norov writes: > On Mon, Jul 25, 2022 at 10:22:13PM +1000, Michael Ellerman wrote: >> Michael Ellerman writes: >> > Yury Norov writes: >> >> archrandom.h includes to refer ppc_md. This causes >> >> circular header dependency, if generic nodemask.h includes random.h: >> >> >> >> In file

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Yury Norov
On Mon, Jul 25, 2022 at 11:39:39PM +0200, Andy Shevchenko wrote: > On Mon, Jul 25, 2022 at 6:19 PM Yury Norov wrote: > > On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy Shevchenko wrote: > > > On Sun, Jul 24, 2022 at 12:19 AM Yury Norov wrote: > > ... > > > > > EXPORT_SYMBOL_GPL(pm_power_off);

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Andy Shevchenko
On Mon, Jul 25, 2022 at 6:19 PM Yury Norov wrote: > On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy Shevchenko wrote: > > On Sun, Jul 24, 2022 at 12:19 AM Yury Norov wrote: ... > > > EXPORT_SYMBOL_GPL(pm_power_off); > > > > ^^^ (Note this and read below) > > > > ... > > > > >

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Yury Norov
On Mon, Jul 25, 2022 at 10:22:13PM +1000, Michael Ellerman wrote: > Michael Ellerman writes: > > Yury Norov writes: > >> archrandom.h includes to refer ppc_md. This causes > >> circular header dependency, if generic nodemask.h includes random.h: > >> > >> In file included from

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Yury Norov
On Mon, Jul 25, 2022 at 09:28:12AM +0200, Andy Shevchenko wrote: > On Sun, Jul 24, 2022 at 12:19 AM Yury Norov wrote: > > > > archrandom.h includes to refer ppc_md. This causes > > circular header dependency, if generic nodemask.h includes random.h: > > > > In file included from

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Michael Ellerman
Yury Norov writes: > archrandom.h includes to refer ppc_md. This causes > circular header dependency, if generic nodemask.h includes random.h: > > In file included from include/linux/cred.h:16, > from include/linux/seq_file.h:13, > from

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Michael Ellerman
Michael Ellerman writes: > Yury Norov writes: >> archrandom.h includes to refer ppc_md. This causes >> circular header dependency, if generic nodemask.h includes random.h: >> >> In file included from include/linux/cred.h:16, >> from include/linux/seq_file.h:13, >>

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Michael Ellerman
Yury Norov writes: > archrandom.h includes to refer ppc_md. This causes > circular header dependency, if generic nodemask.h includes random.h: > > In file included from include/linux/cred.h:16, > from include/linux/seq_file.h:13, > from

Re: [PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-25 Thread Andy Shevchenko
On Sun, Jul 24, 2022 at 12:19 AM Yury Norov wrote: > > archrandom.h includes to refer ppc_md. This causes > circular header dependency, if generic nodemask.h includes random.h: > > In file included from include/linux/cred.h:16, > from include/linux/seq_file.h:13, >

[PATCH 1/2] powerpc: drop dependency on in archrandom.h

2022-07-23 Thread Yury Norov
archrandom.h includes to refer ppc_md. This causes circular header dependency, if generic nodemask.h includes random.h: In file included from include/linux/cred.h:16, from include/linux/seq_file.h:13, from arch/powerpc/include/asm/machdep.h:6,