[xen master] xen/tmem: Drop unnecessary noinline attribute

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] xen/tmem: Drop unnecessary noinline attribute

patchbot
commit ca72c0e16210921c3e8191615af6a553392019e6
Author:     Andrew Cooper <[hidden email]>
AuthorDate: Tue Oct 3 19:07:50 2017 +0100
Commit:     Andrew Cooper <[hidden email]>
CommitDate: Fri Oct 6 13:36:43 2017 +0100

    xen/tmem: Drop unnecessary noinline attribute
   
    tmem_mempool_page_get() is only referenced by address, so isn't eligable for
    inlining in the first place.
   
    Signed-off-by: Andrew Cooper <[hidden email]>
    Reviewed-by: Konrad Rzeszutek Wilk <[hidden email]>
---
 xen/common/tmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/tmem.c b/xen/common/tmem.c
index c955cf7..324f42a 100644
--- a/xen/common/tmem.c
+++ b/xen/common/tmem.c
@@ -200,7 +200,7 @@ static void tmem_free_page(struct tmem_pool *pool, struct page_info *pfp)
     atomic_dec_and_assert(global_page_count);
 }
 
-static noinline void *tmem_mempool_page_get(unsigned long size)
+static void *tmem_mempool_page_get(unsigned long size)
 {
     struct page_info *pi;
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog