mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b0a9499c3d
commit
858119e159
74 changed files with 226 additions and 227 deletions
4
fs/bio.c
4
fs/bio.c
|
|
@ -123,7 +123,7 @@ static void bio_fs_destructor(struct bio *bio)
|
|||
bio_free(bio, fs_bio_set);
|
||||
}
|
||||
|
||||
inline void bio_init(struct bio *bio)
|
||||
void bio_init(struct bio *bio)
|
||||
{
|
||||
bio->bi_next = NULL;
|
||||
bio->bi_bdev = NULL;
|
||||
|
|
@ -253,7 +253,7 @@ inline int bio_hw_segments(request_queue_t *q, struct bio *bio)
|
|||
* the actual data it points to. Reference count of returned
|
||||
* bio will be one.
|
||||
*/
|
||||
inline void __bio_clone(struct bio *bio, struct bio *bio_src)
|
||||
void __bio_clone(struct bio *bio, struct bio *bio_src)
|
||||
{
|
||||
request_queue_t *q = bdev_get_queue(bio_src->bi_bdev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue