mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King: "Another couple of small ARM fixes. A patch from Masahiro Yamada who noticed that "make -jN all zImage" would end up generating bad images where N > 1, and a patch from Nicolas to fix the Marvell CPU user access optimisation code when page faults are disabled" * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: ARM: 8418/1: add boot image dependencies to not generate invalid images ARM: 8414/1: __copy_to_user_memcpy: fix mmap semaphore usage
This commit is contained in:
commit
b7dec838b5
@ -312,6 +312,9 @@ INSTALL_TARGETS = zinstall uinstall install
|
|||||||
|
|
||||||
PHONY += bzImage $(BOOT_TARGETS) $(INSTALL_TARGETS)
|
PHONY += bzImage $(BOOT_TARGETS) $(INSTALL_TARGETS)
|
||||||
|
|
||||||
|
bootpImage uImage: zImage
|
||||||
|
zImage: Image
|
||||||
|
|
||||||
$(BOOT_TARGETS): vmlinux
|
$(BOOT_TARGETS): vmlinux
|
||||||
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
|
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ __copy_to_user_memcpy(void __user *to, const void *from, unsigned long n)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* the mmap semaphore is taken only if not in an atomic context */
|
/* the mmap semaphore is taken only if not in an atomic context */
|
||||||
atomic = in_atomic();
|
atomic = faulthandler_disabled();
|
||||||
|
|
||||||
if (!atomic)
|
if (!atomic)
|
||||||
down_read(¤t->mm->mmap_sem);
|
down_read(¤t->mm->mmap_sem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user