linux-mips
[Top] [All Lists]

[mips-sjhill:mti-next 7/16] arch/mips/kernel/traps.c:1822:6: warning: "c

To: "Steven J. Hill" <sjhill@mips.com>
Subject: [mips-sjhill:mti-next 7/16] arch/mips/kernel/traps.c:1822:6: warning: "cpu_data" is not defined
From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 13 Nov 2012 16:14:44 +0800
Cc: linux-mips@linux-mips.org
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Heirloom mailx 12.5 6/20/10
tree:   git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill mti-next
head:   bfba8d5f0844a1358022c8f8367a4f792335a94f
commit: e9ebe292b8b9df20a1f601e1dc4c85d31689359a [7/16] MIPS: Add support for 
microMIPS exception handling.
config: make ARCH=mips allyesconfig

All warnings:

arch/mips/kernel/traps.c: In function 'trap_init':
arch/mips/kernel/traps.c:1822:6: warning: "cpu_data" is not defined [-Wundef]
arch/mips/kernel/traps.c:1822:6: error: token "[" is not valid in preprocessor 
expressions
arch/mips/kernel/traps.c:1955:6: warning: "cpu_data" is not defined [-Wundef]
arch/mips/kernel/traps.c:1955:6: error: token "[" is not valid in preprocessor 
expressions

vim +1822 +/cpu_data arch/mips/kernel/traps.c

e01402b1 Ralf Baechle   2005-07-14  1806        memcpy((void *)(uncached_ebase 
+ offset), addr, size);
e01402b1 Ralf Baechle   2005-07-14  1807  }
e01402b1 Ralf Baechle   2005-07-14  1808  
5b10496b Atsushi Nemoto 2006-09-11  1809  static int __initdata rdhwr_noopt;
5b10496b Atsushi Nemoto 2006-09-11  1810  static int __init 
set_rdhwr_noopt(char *str)
5b10496b Atsushi Nemoto 2006-09-11  1811  {
5b10496b Atsushi Nemoto 2006-09-11  1812        rdhwr_noopt = 1;
5b10496b Atsushi Nemoto 2006-09-11  1813        return 1;
5b10496b Atsushi Nemoto 2006-09-11  1814  }
5b10496b Atsushi Nemoto 2006-09-11  1815  
5b10496b Atsushi Nemoto 2006-09-11  1816  __setup("rdhwr_noopt", 
set_rdhwr_noopt);
5b10496b Atsushi Nemoto 2006-09-11  1817  
^1da177e Linus Torvalds 2005-04-16  1818  void __init trap_init(void)
^1da177e Linus Torvalds 2005-04-16  1819  {
e9ebe292 Steven J. Hill 2012-07-19  1820        extern char except_vec3_generic;
^1da177e Linus Torvalds 2005-04-16  1821        extern char except_vec4;
e9ebe292 Steven J. Hill 2012-07-19 @1822  #if (cpu_has_vce != 0)
e9ebe292 Steven J. Hill 2012-07-19  1823        extern char except_vec3_r4000;
e9ebe292 Steven J. Hill 2012-07-19  1824  #endif
^1da177e Linus Torvalds 2005-04-16  1825        unsigned long i;
c65a5480 Atsushi Nemoto 2007-11-12  1826        int rollback;
c65a5480 Atsushi Nemoto 2007-11-12  1827  
c65a5480 Atsushi Nemoto 2007-11-12  1828        check_wait();
c65a5480 Atsushi Nemoto 2007-11-12  1829        rollback = (cpu_wait == 
r4k_wait);
^1da177e Linus Torvalds 2005-04-16  1830  

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

<Prev in Thread] Current Thread [Next in Thread>