18 Mar, 2011

1 commit

  • Make __get_user_pages return -EHWPOISON for HWPOISON page only if
    FOLL_HWPOISON is specified. With this patch, the interested callers
    can distinguish HWPOISON pages from general FAULT pages, while other
    callers will still get -EFAULT for all these pages, so the user space
    interface need not to be changed.

    This feature is needed by KVM, where UCR MCE should be relayed to
    guest for HWPOISON page, while instruction emulation and MMIO will be
    tried for general FAULT page.

    The idea comes from Andrew Morton.

    Signed-off-by: Huang Ying
    Cc: Andrew Morton
    Signed-off-by: Marcelo Tosatti
    Signed-off-by: Avi Kivity

    Huang Ying
     

07 Jun, 2009

1 commit

  • Commit 1f87f7d3 (cfg80211: add rfkill support) added ERFKILL
    to asm-generic/errno.h, but alpha, mips, parisc and sparc use
    their own numbering scheme and do not include asm-generic/errno.h.
    We need to add definition of ERFKILL for them.

    Signed-off-by: Alexander Beregalov
    Acked-by: Ralf Baechle
    Acked-by: Kyle McMartin
    Signed-off-by: David S. Miller

    Alexander Beregalov
     

11 Oct, 2008

1 commit