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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux