]> git.baikalelectronics.ru Git - kernel.git/commit
uml: arch/um/include/init.h needs a definition of __used
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:30:34 +0000 (22:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:24 +0000 (09:44 -0800)
commit28a810e990a375c8a23ff44773afdf1ca832102d
tree3f75e2cb7477b99f0568cd9f9aa40cd60af1dec7
parenta69fc87ec4a0b417e2258b1f2246e4c89bf5af4e
uml: arch/um/include/init.h needs a definition of __used

init.h started breaking now for some reason.  It turns out that there wasn't a
definition of __used.  Fixed this by copying the relevant stuff from
compiler.h in the userspace case, and including compiler.h in the kernel case.

[xiyou.wangcong@gmail.com: added definition of __section]
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/init.h