commit | 581adcbe121872429de76ff9884762de71a76200 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:06 2011 -0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:06 2011 -0800 |
tree | 6c7f0faf7ee8812630197e7c23fc32bb4cc978c2 | |
parent | 1c16d242aa441c11ccaeaa63b49712555b8bfaeb [diff] |
memblock: Make memblock_{add|remove|free|reserve}() return int and update prototypes memblock_{add|remove|free|reserve}() return either 0 or -errno but had long as return type. Chage it to int. Also, drop 'extern' from all prototypes in memblock.h - they are unnecessary and used inconsistently (especially if mm.h is included in the picture). Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>