Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [3d7a75] Maximize Restore History

um: Fix __swp_type()

commit 2b76ebaa728f8a3967c52aa189261c72fe56a6f1 upstream.

The current __swp_type() function uses a too small bitshift.
Using more than one swap files causes bad pages because
the type bits clash with other page flags.

Analyzed-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Richard Weinberger Richard Weinberger 2012-04-14

Greg Kroah-Hartman Greg Kroah-Hartman 2012-06-01

changed arch
changed arch/um
changed arch/um/include
changed arch/um/include/asm
changed arch/um/include/asm/pgtable.h
arch
Directory.
arch/um
Directory.
arch/um/include
Directory.
arch/um/include/asm
Directory.
arch/um/include/asm/pgtable.h Diff Switch to side-by-side view
Loading...