15 Sep, 2011

1 commit

  • Commit b789ef518b2 ("slub: Add cmpxchg_double_slab()") tests for
    cmpxchg_double support in the SLUB code and it breaks UML builds with
    SLUB. Since UML does not support checking for CPU features, disable
    CMPXCHG_DOUBLE just like CMPXCHG_LOCAL is disabled for UML.

    Signed-off-by: Thadeu Lima de Souza Cascardo
    Reviewed-by: Christoph Lameter
    Cc: Jeff Dike
    Cc: Richard Weinberger
    Signed-off-by: Richard Weinberger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thadeu Lima de Souza Cascardo
     

26 Jul, 2011

1 commit

  • Commit 0954828fcbf3 ("kconfig: replace KERNELVERSION usage by the
    mainmenu's prompt") made the kernel version disappear from the generated
    .config file when configuring for UML. As UML's Kconfig doesn't have a
    mainmenu, kconfig falls back to the default string "Linux Kernel
    Configuration".

    Add a suitable mainmenu to the main UML Kconfig file to fix this.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Richard Weinberger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

27 May, 2011

1 commit

  • By the previous style change, CONFIG_GENERIC_FIND_NEXT_BIT,
    CONFIG_GENERIC_FIND_BIT_LE, and CONFIG_GENERIC_FIND_LAST_BIT are not used
    to test for existence of find bitops anymore.

    Signed-off-by: Akinobu Mita
    Acked-by: Greg Ungerer
    Cc: Arnd Bergmann
    Cc: Russell King
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     

24 May, 2011

1 commit

  • Commit d12337 (rwsem: Remove redundant asmregparm annotation)
    broke rwsem on UML.

    As we cannot compile UML with -mregparm=3 and keeping asmregparm only
    for UML is inadequate the easiest solution is using RWSEM_GENERIC_SPINLOCK.

    Thanks to Thomas Gleixner for the idea.

    Reported-by: Toralf Förster
    Tested-by: Toralf Förster
    Signed-off-by: Richard Weinberger
    Cc: user-mode-linux-devel@lists.sourceforge.net
    Cc: # .39.x
    Link: http://lkml.kernel.org/r/%3C1306183893-26655-1-git-send-email-richard%40nod.at%3E
    Signed-off-by: Thomas Gleixner

    Richard Weinberger
     

15 Apr, 2011

1 commit

  • Commit 8a5ec0ba "Lockless (and preemptless) fastpaths for slub" makes use
    of this_cpu_cmpxchg_double() which needs this_cpu_cmpxchg16b_emu() on
    x86_64. Implementing cmpxchg16b emulation for UML would introduce too
    much complexity. So just disable it.

    Signed-off-by: Richard Weinberger
    Reported-by: Sergei Trofimovich
    Acked-by: Pekka Enberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Richard Weinberger
     

09 Mar, 2011

1 commit


01 Mar, 2011

1 commit


23 Oct, 2008

2 commits