Explorar o código

sh: Kill off dangling goto labels from oom-killer rework.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt %!s(int64=15) %!d(string=hai) anos
pai
achega
364b97d9e2
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      arch/sh/mm/fault_32.c
  2. 0 1
      arch/sh/mm/tlbflush_64.c

+ 0 - 1
arch/sh/mm/fault_32.c

@@ -200,7 +200,6 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
 	 * make sure we exit gracefully rather than endlessly redo
 	 * the fault.
 	 */
-survive:
 	fault = handle_mm_fault(mm, vma, address, writeaccess ? FAULT_FLAG_WRITE : 0);
 	if (unlikely(fault & VM_FAULT_ERROR)) {
 		if (fault & VM_FAULT_OOM)

+ 0 - 1
arch/sh/mm/tlbflush_64.c

@@ -189,7 +189,6 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long writeaccess,
 	 * make sure we exit gracefully rather than endlessly redo
 	 * the fault.
 	 */
-survive:
 	fault = handle_mm_fault(mm, vma, address, writeaccess ? FAULT_FLAG_WRITE : 0);
 	if (unlikely(fault & VM_FAULT_ERROR)) {
 		if (fault & VM_FAULT_OOM)