]> git.baikalelectronics.ru Git - kernel.git/commit
frv: remove unused cpuinfo_frv and friends to fix future build error
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Oct 2014 22:30:06 +0000 (15:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:26:03 +0000 (22:26 -0400)
commite29d83b8bd51dca4701da2a77ff5b6d0bf55184b
tree1b46f8abb2a6b1b1967a43395b254fff450fb3d5
parente4b0d862a9c1b9ecf7919f07a2ea8ab7e0846a60
frv: remove unused cpuinfo_frv and friends to fix future build error

Frv has a macro named cpu_data, interfering with variables and struct
members with the same name:

include/linux/pm_domain.h:75:24: error: expected identifier or '('
before '&' token
  struct gpd_cpu_data *cpu_data;

As struct cpuinfo_frv, boot_cpu_data, cpu_data, and current_cpu_data are
not used, removed them to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/include/asm/processor.h
arch/frv/kernel/setup.c