Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b76f98761acc909c20c1e65c8af11dc1decae935
Commit:     b76f98761acc909c20c1e65c8af11dc1decae935
Parent:     1a7d91d651f25005c4f507aebf9eab17e508889c
Author:     Robin Getz <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 10 17:25:15 2007 +0800
Committer:  Bryan Wu <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 17:25:15 2007 +0800

    Blackfin arch: show_mem can not be marked as init, since it is called 
during OOM condition
    
    show_mem can not be marked as init, since it is called during
    OOM condition from /mm/oom_kill.c:out_of_memory() and
    /mm/page_alloc.c:__alloc_pages()
    
    Signed-off-by: Robin Getz <[EMAIL PROTECTED]>
    Signed-off-by: Bryan Wu <[EMAIL PROTECTED]>
---
 arch/blackfin/mm/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c
index 68459cc..e97ea8f 100644
--- a/arch/blackfin/mm/init.c
+++ b/arch/blackfin/mm/init.c
@@ -53,7 +53,7 @@ static unsigned long empty_bad_page;
 
 unsigned long empty_zero_page;
 
-void __init show_mem(void)
+void show_mem(void)
 {
        unsigned long i;
        int free = 0, total = 0, reserved = 0, shared = 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to