[PATCH] seq_file: convert /proc/device-tree/ to seq_file

2009-09-07 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- fs/proc/proc_devtree.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c @@ -7,6 +7,7 @@ #include #include #include +#include #include

[PATCH] iseries: convert to proc_fops

2009-11-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- arch/powerpc/platforms/iseries/mf.c | 147 1 file changed, 83 insertions(+), 64 deletions(-) --- a/arch/powerpc/platforms/iseries/mf.c +++ b/arch/powerpc/platforms/iseries/mf.c @@ -855,59 +855,58 @@ static int

[PATCH] via-pmu: convert to proc_fops/seq_file

2009-11-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- drivers/macintosh/via-pmu.c | 160 +--- 1 file changed, 91 insertions(+), 69 deletions(-) --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c @@ -36,6 +36,7 @@ #include #include #include +#include

Re: [PATCH] proc_devtree: fix THIS_MODULE without module.h

2010-01-09 Thread Alexey Dobriyan
On Thu, Jan 07, 2010 at 01:19:13PM +1100, Jeremy Kerr wrote: > Commit e22f628395432b967f2f505858c64450f7835365 introduced a build > breakage for ARM devtree work: the THIS_MODULE macro was added, but we > don't have module.h > > This change adds the necessary #include to get THIS_MODULE defined. >

Re: [PATCH] proc_devtree: fix THIS_MODULE without module.h

2010-01-12 Thread Alexey Dobriyan
On Mon, Jan 11, 2010 at 03:58:47PM -0700, Grant Likely wrote: > On Sat, Jan 9, 2010 at 4:01 AM, Alexey Dobriyan wrote: > > I'd say, remove .owner line. > > It definitely not needed in non-modular code. > > No. Jeremy's fix is the better one. Having the .owner l

Re: 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-03-13 Thread Alexey Dobriyan
On Sat, Mar 13, 2010 at 03:53:28PM -0800, Christian Kujau wrote: > after upgrading from 2.6.33 to today's latest mainline (daf9fe2...), I'm > getting this during bootup on a powerpc machine (Powerbook G4): > > [0.002187] [ cut here ] > [0.002197] Badness at fs/proc

Re: 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-03-14 Thread Alexey Dobriyan
On Sun, Mar 14, 2010 at 03:39:39AM -0700, Christian Kujau wrote: > On Sun, 14 Mar 2010 at 08:55, Alexey Dobriyan wrote: > > > device-tree: Duplicate name in /cpus/PowerPC,g...@0, renamed to > > > "l2-cache#1" > > > name 'pulses/rev' > >

Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-04-20 Thread Alexey Dobriyan
On Tue, Apr 20, 2010 at 10:18:18PM +1000, Michael Ellerman wrote: > On Mon, 2010-04-19 at 23:45 -0700, Christian Kujau wrote: > --- a/fs/proc/proc_devtree.c > +++ b/fs/proc/proc_devtree.c > @@ -175,6 +175,24 @@ retry: > return fixed_name; > } > > +static const char *unslash_name(const ch

Re: remove the last set_fs() in common code, and remove it for x86 and powerpc v3

2020-09-04 Thread Alexey Dobriyan
On Fri, Sep 04, 2020 at 08:00:24AM +0200, Ingo Molnar wrote: > * Christoph Hellwig wrote: > > this series removes the last set_fs() used to force a kernel address > > space for the uaccess code in the kernel read/write/splice code, and then > > stops implementing the address space overrides entire

Re: pci_proc_init: proc_dir_entry '00' already registered

2008-02-10 Thread Alexey Dobriyan
On Sun, Feb 10, 2008 at 11:07:57AM +0100, Olaf Hering wrote: > Current Linus tree gives this new warning during bootup: > > +proc_dir_entry '00' already registered > +Call Trace: > +[c0007b0dfba0] [c000e4b0] .show_stack+0x70/0x1bc (unreliable) > +[c0007b0dfc50] [c00f2714] .

Re: 2.6.24-rc1 sysctl table check failed on PowerMac

2007-10-27 Thread Alexey Dobriyan
.1 Writable sysctl directory [PATCH] powerpc: fix sysctl whining re kernel.powersave-nap kernel was marked with 0755. Everywhere else it's 0555. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/powerpc/kernel/idle.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on powerpc

2008-05-14 Thread Alexey Dobriyan
On Wed, May 14, 2008 at 09:07:05AM -0700, Paul E. McKenney wrote: > On Wed, May 14, 2008 at 09:04:07PM +0530, Kamalesh Babulal wrote: > > Hi Andrew, > > > > 2.6.26-rc2-mm1 kernel panics on powerpc, while running ltp test over it. > > I have attached the gdb output of the pc and lr registers. The p

Re: pci_proc_init: proc_dir_entry '00' already registered

2008-04-28 Thread Alexey Dobriyan
Olaf Hering wrote: > On Sun, Feb 10, Alexey Dobriyan wrote: > > > On Sun, Feb 10, 2008 at 11:07:57AM +0100, Olaf Hering wrote: > > > Current Linus tree gives this new warning during bootup: > > > > > > +proc_dir_entry '00' already regis

[PATCH] ps3: ps3-lpm.c compile fix

2008-11-02 Thread Alexey Dobriyan
drivers/ps3/ps3-lpm.c:838: error: implicit declaration of function 'get_hard_smp_processor_id' Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- drivers/ps3/ps3-lpm.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/ps3/ps3-lpm.c +++ b/drivers/ps3/ps3-lpm.

[PATCH] cell: fix ras.c compilation

2008-11-02 Thread Alexey Dobriyan
arch/powerpc/platforms/cell/ras.c:299: error: implicit declaration of function 'crash_shutdown_register' Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/powerpc/platforms/cell/ras.c |1 + 1 file changed, 1 insertion(+) --- a/arch/powerpc/platforms/cell/ras.c ++

Re: [PATCH] ps3: ps3-lpm.c compile fix

2008-11-03 Thread Alexey Dobriyan
On Mon, Nov 03, 2008 at 09:20:28AM +0100, Geert Uytterhoeven wrote: > On Sun, 2 Nov 2008, Alexey Dobriyan wrote: > > drivers/ps3/ps3-lpm.c:838: error: implicit declaration of function > > 'get_hard_smp_processor_id' > > > > Signed-off-

[PATCH 3/3] isystem: delete global -isystem compile option

2021-08-01 Thread Alexey Dobriyan
Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Alexey Dobriyan --- Makefile | 2 +- arch/arm64/lib/Makefile | 2 ++ arch/nds32/Mak

Re: [PATCH 3/3] isystem: delete global -isystem compile option

2021-08-01 Thread Alexey Dobriyan
On Sun, Aug 01, 2021 at 04:32:47PM -0500, Segher Boessenkool wrote: > On Sun, Aug 01, 2021 at 11:13:36PM +0300, Alexey Dobriyan wrote: > > In theory, it enables "leakage" of userspace headers into kernel which > > may present licensing problem. > > > -NOSTDINC_F

Re: [PATCH 3/3] isystem: delete global -isystem compile option

2021-08-02 Thread Alexey Dobriyan
On Mon, Aug 02, 2021 at 11:47:47AM -0500, Segher Boessenkool wrote: > On Mon, Aug 02, 2021 at 09:42:45AM +0300, Alexey Dobriyan wrote: > > On Sun, Aug 01, 2021 at 04:32:47PM -0500, Segher Boessenkool wrote: > > > On Sun, Aug 01, 2021 at 11:13:36PM +0300, Alexey Dobriyan wrote:

Re: [PATCH 3/3] isystem: delete global -isystem compile option

2021-08-02 Thread Alexey Dobriyan
On Mon, Aug 02, 2021 at 11:18:32AM -0700, Nathan Chancellor wrote: > On Sun, Aug 01, 2021 at 11:13:36PM +0300, Alexey Dobriyan wrote: > > In theory, it enables "leakage" of userspace headers into kernel which > > may present licensing problem. > > > >