• David Howells's avatar
    [PATCH] VM routine fixes · 2954850e
    David Howells authored
    The attached patch fixes a number of problems in the VM routines:
    
     (1) Some inline funcs don't compile if CONFIG_MMU is not set.
    
     (2) swapper_pml4 needn't exist if CONFIG_MMU is not set.
    
     (3) __free_pages_ok() doesn't counter set_page_refs() different behaviour if
         CONFIG_MMU is not set.
    
     (4) swsusp.c invokes TLB flushing functions without including the header file
         that declares them.
    
    CONFIG_SHMEM semantics:
    
    - If MMU: Always enabled if !EMBEDDED
    
    - If MMU && EMBEDDED: configurable
    
    - If !MMU: disabled
    Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2954850e
tiny-shmem.c 2.68 KB