[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: IP22, IP28: Fix build.
From:       linux-mips () linux-mips ! org
Date:       2010-04-30 19:05:05
Message-ID: S1492513Ab0D3TFJ/20100430190509Z+24770 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: Ralf Baechle <ralf@linux-mips.org> Fri Apr 30 19:45:10 2010 +0100
Commit: a47c81e2012c8584a28605d6e3729086bdffe143
Gitweb: http://www.linux-mips.org/g/linux/a47c81e2
Branch: linux-2.6.30-stable

Broken by f6dc800f371f8936f5f40cd9d0da694c49bd6af3 "die() does not call
die notifier chain":

  CC      arch/mips/sgi-ip22/ip22-berr.o
cc1: warnings being treated as errors
/home/ralf/src/linux/upstream-linus/arch/mips/sgi-ip22/ip22-berr.c: In function \
                ‘ip22_be_interrupt':
/home/ralf/src/linux/upstream-linus/arch/mips/sgi-ip22/ip22-berr.c:100: error: \
                passing argument 2 of ‘die_if_kernel' discards qualifiers from \
                pointer target type
/home/ralf/src/linux/upstream-linus/arch/mips/include/asm/ptrace.h:147: note: \
expected ‘struct pt_regs *' but argument is of type ‘const struct pt_regs *' \
make[3]: *** [arch/mips/sgi-ip22/ip22-berr.o] Error 1

and:

  CC      arch/mips/sgi-ip22/ip28-berr.o
cc1: warnings being treated as errors
/home/ralf/src/linux/upstream-linus/arch/mips/sgi-ip22/ip28-berr.c: In function \
                ‘ip22_be_interrupt':
/home/ralf/src/linux/upstream-linus/arch/mips/sgi-ip22/ip28-berr.c:462: error: \
                passing argument 2 of ‘die_if_kernel' discards qualifiers from \
                pointer target type
/home/ralf/src/linux/upstream-linus/arch/mips/include/asm/ptrace.h:147: note: \
expected ‘struct pt_regs *' but argument is of type ‘const struct pt_regs *' \
make[3]: *** [arch/mips/sgi-ip22/ip28-berr.o] Error 1

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit 6ca903d0c2d8ace1ab91df470b78f2b3a72e9677)

---

 arch/mips/sgi-ip22/ip22-berr.c |    2 +-
 arch/mips/sgi-ip22/ip28-berr.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic