Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fad9e7d95769ff6c0918b79d58a7ba03615c3ff9
Commit:     fad9e7d95769ff6c0918b79d58a7ba03615c3ff9
Parent:     56982002a359533d471834f4398e3002aeb6fbbc
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 20 17:46:42 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Jul 20 17:46:42 2007 +0900

    sh64: Flag sh64_get_page() as __init_refok.
    
    sh64_get_page() wraps in to regular allocators as well as the
    bootmem allocator for fetching pages, it carefully checks to
    see which one it can use depending on the system state, so
    the access is safe.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh64/mm/ioremap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh64/mm/ioremap.c b/arch/sh64/mm/ioremap.c
index ff26c02..9908577 100644
--- a/arch/sh64/mm/ioremap.c
+++ b/arch/sh64/mm/ioremap.c
@@ -242,7 +242,7 @@ static void shmedia_free_io(struct resource *res)
        release_resource(res);
 }
 
-static void *sh64_get_page(void)
+static __init_refok void *sh64_get_page(void)
 {
        extern int after_bootmem;
        void *page;
-
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