]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UniCore32-bugfix: Remove definitions in asm/bug.h to solve difference between native...
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 14 Jun 2012 03:38:25 +0000 (11:38 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 19 Oct 2012 06:53:59 +0000 (14:53 +0800)
commit19cbeb09fd8c0e0643e0d4be7898613af856f30a
treeaf52d7e7b49ef2de5f258bb443f0ba80dd781db1
parent9d86594e21dddd27c0b4b964bea3d0d9bd279182
UniCore32-bugfix: Remove definitions in asm/bug.h to solve difference between native and cross compiler

For kernel/bound.c being compiled by native compiler, it will generate following errors in gcc 4.4.3:
  CC      kernel/bounds.s
In file included from include/linux/bug.h:4,
                 from include/linux/page-flags.h:9,
                 from kernel/bounds.c:9:
arch/unicore32/include/asm/bug.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
arch/unicore32/include/asm/bug.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'

So, we moved definitions in asm/bug.h to arch/unicore32/kernel/setup.h to solve the problem.

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/include/asm/bug.h
arch/unicore32/kernel/setup.h