[2/10 PATCH] inline inline-generic_writepages.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make generic_writepages inlinable in current file.

Signed-off-by: Mikulas Patocka <mpatocka@xxxxxxxxxx>

Index: linux-2.6.26-rc7-devel/mm/page-writeback.c
===================================================================
--- linux-2.6.26-rc7-devel.orig/mm/page-writeback.c	2008-06-24 07:28:14.000000000 +0200
+++ linux-2.6.26-rc7-devel/mm/page-writeback.c	2008-06-24 07:37:15.000000000 +0200
@@ -981,8 +981,8 @@
  * This is a library function, which implements the writepages()
  * address_space_operation.
  */
-int generic_writepages(struct address_space *mapping,
-		       struct writeback_control *wbc)
+__always_inline int generic_writepages(struct address_space *mapping,
+				       struct writeback_control *wbc)
 {
 	/* deal with chardevs and other special file */
 	if (!mapping->a_ops->writepage)

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux