]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bootmem: remove useless __init in header file
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Tue, 26 Sep 2006 06:31:03 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:45 +0000 (08:48 -0700)
commit16b8faf0b426052f4ed0a80da147c666eaa797f1
tree1123ffc446b5e118d93c03d773f8b3815166c4ef
parent3fce9ac7df1fe813a8e2fb9f90ee0e40ef6b9f09
[PATCH] bootmem: remove useless __init in header file

__init in headers is pretty useless because the compiler doesn't check it, and
they get out of sync relatively frequently.  So if you see an __init in a
header file, it's quite unreliable and you need to check the definition
anyway.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/bootmem.h