08 May, 2010

1 commit


21 Apr, 2010

1 commit

  • /tmp/ccJ3ssZW.s: Assembler messages:
    /tmp/ccJ3ssZW.s:1952: Error: can't resolve `.text' {.text section} - `.LFB1077'

    This is caused because:

    .section .data
    .section .text
    .section .text
    .previous

    does not return us to the .text section, but the .data section; this
    makes use of .previous dangerous if the ordering of previous sections
    is not known.

    Fix up the other users of .previous; .pushsection and .popsection are
    a safer pairing to use than .section and .previous.

    Signed-off-by: Russell King

    Russell King
     

24 Jul, 2009

1 commit


30 May, 2009

1 commit

  • This allows for optional alternative implementations of __copy_to_user
    and __clear_user, with a possible runtime fallback to the standard
    version when the alternative provides no gain over that standard
    version. This is done by making the standard __copy_to_user into a weak
    alias for the symbol __copy_to_user_std. Same thing for __clear_user.

    Those two functions are particularly good candidates to have alternative
    implementations for, since they rely on the STRT instruction which has
    lower performances than STM instructions on some CPU cores such as
    the ARM1176 and Marvell Feroceon.

    Signed-off-by: Nicolas Pitre

    Nicolas Pitre
     

01 Sep, 2008

1 commit


29 Jun, 2006

1 commit


02 Nov, 2005

1 commit

  • Patch from Nicolas Pitre

    This patch provides a preemption safe implementation of copy_to_user
    and copy_from_user based on the copy template also used for memcpy.
    It is enabled unconditionally when CONFIG_PREEMPT=y. Otherwise if the
    configured architecture is not ARMv3 then it is enabled as well as it
    gives better performances at least on StrongARM and XScale cores. If
    ARMv3 is not too affected or if it doesn't matter too much then
    uaccess.S could be removed altogether.

    Signed-off-by: Nicolas Pitre
    Signed-off-by: Russell King

    Nicolas Pitre