11 May, 2011

1 commit

  • PAGE_SIZE >= 64kb (1 << 16) is too big to be the immediate of the
    addiu/daddiu instruction, so, use addu/daddu instruction instead.

    The following compiling error is fixed:

    AS arch/mips/power/hibernate.o
    arch/mips/power/hibernate.S: Assembler messages:
    arch/mips/power/hibernate.S:38: Error: expression out of range
    make[2]: *** [arch/mips/power/hibernate.o] Error 1
    make[1]: *** [arch/mips/power] Error 2

    Reported-by: Roman Mamedov
    Signed-off-by: Wu Zhangjin
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2313/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     

27 Feb, 2010

1 commit


18 Sep, 2009

1 commit

  • Now that PAGE_SIZE is available to assembly directly, there is no need
    to separately expose it as _PAGE_SIZE through asm-offsets.

    In addition, remove _PAGE_SHIFT from asm-offsets, since it was never
    needed, and is not used anywhere.

    Signed-off-by: Nelson Elhage
    Signed-off-by: Tim Abbott
    Signed-off-by: Ralf Baechle

    Nelson Elhage
     

25 Jun, 2009

1 commit

  • We can't perform any flushes on SMP from swsusp_arch_resume because
    interrupts are disabled. A cross-CPU flush is unnecessary anyway
    because all but the local CPU have already been disabled. A local
    flush is not needed either because we didn't change any mappings. So
    just delete the code.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

17 Jun, 2009

1 commit

  • [Ralf: SMP support requires CPU hotplugging which MIPS currently doesn't
    support. As implemented in this patch cache and tlb flushing will also be
    invoked with interrupts disabled so smp_call_function() will blow up in
    charming ways. So limit to !SMP.]

    Reviewed-by: Pavel Machek
    Reviewed-by: Yan Hua
    Reviewed-by: Arnaud Patard
    Reviewed-by: Atsushi Nemoto
    Signed-off-by: Wu Zhangjin
    Signed-off-by: Hu Hongbing
    Signed-off-by: Ralf Baechle

    Wu Zhangjin