• Linus Torvalds's avatar
    [PATCH] Revert "[PATCH] Fix up mmap_kmem" · f2910633
    Linus Torvalds authored
    This reverts commit 99a10a60.
    
    As per Hugh Dickins:
    
      "Nadia Derbey has reported that mmap of /dev/kmem no longer works with
       the kernel virtual address as offset, and Franck has confirmed that
       his patch came from a misunderstanding of what an offset means to
       /dev/kmem - whereas his patch description seems to say that he was
       correcting the offset on a few plaforms, there was no such problem to
       correct, and his patch was in fact changing its API on all platforms."
    Suggested-by: default avatarHugh Dickins <hugh@veritas.com>
    Cc: Franck Bui-Huu <fbuihuu@gmail.com>
    Cc: Nadia Derbey <Nadia.Derbey@bull.net>
    Cc: Andi Kleen <ak@suse.de>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Andrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
    f2910633
mem.c 21.9 KB