Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Blackfin: fix building IPIPE code when XIP is enabled

The low level assembly needs to use the pseudo_long_call helper so that
we use the right call insn when doing kernel XIP.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

+2 -2
+2 -2
arch/blackfin/mach-common/entry.S
··· 615 615 #ifdef CONFIG_IPIPE 616 616 r0 = sp; 617 617 SP += -12; 618 - call ___ipipe_syscall_root; 618 + pseudo_long_call ___ipipe_syscall_root, p0; 619 619 SP += 12; 620 620 cc = r0 == 1; 621 621 if cc jump .Lsyscall_really_exit; ··· 692 692 [--sp] = reti; 693 693 SP += 4; /* don't merge with next insn to keep the pattern obvious */ 694 694 SP += -12; 695 - call ___ipipe_sync_root; 695 + pseudo_long_call ___ipipe_sync_root, p4; 696 696 SP += 12; 697 697 jump .Lresume_userspace_1; 698 698 .Lsyscall_no_irqsync: