Merge branch 'disintegrate-asm-generic' of git://git.infradead.org/users/dhowells/linux-headers into asm-generic
Patches from David Howells <dhowells@redhat.com>: This is to complete part of the UAPI disintegration for which the preparatory patches were pulled recently. Note that there are some fixup patches which are at the base of the branch aimed at you, plus all arches get the asm-generic branch merged in too. * 'disintegrate-asm-generic' of git://git.infradead.org/users/dhowells/linux-headers: UAPI: (Scripted) Disintegrate include/asm-generic UAPI: Fix conditional header installation handling (notably kvm_para.h on m68k) c6x: remove c6x signal.h UAPI: Split compound conditionals containing __KERNEL__ in Arm64 UAPI: Fix the guards on various asm/unistd.h files Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Esse commit está contido em:
@@ -1,6 +1,3 @@
|
||||
#if !defined(_ASM_SCORE_UNISTD_H) || defined(__SYSCALL)
|
||||
#define _ASM_SCORE_UNISTD_H
|
||||
|
||||
#define __ARCH_HAVE_MMU
|
||||
|
||||
#define __ARCH_WANT_SYSCALL_NO_AT
|
||||
@@ -9,5 +6,3 @@
|
||||
#define __ARCH_WANT_SYSCALL_DEPRECATED
|
||||
|
||||
#include <asm-generic/unistd.h>
|
||||
|
||||
#endif /* _ASM_SCORE_UNISTD_H */
|
||||
|
3
arch/score/include/uapi/asm/Kbuild
Arquivo normal
3
arch/score/include/uapi/asm/Kbuild
Arquivo normal
@@ -0,0 +1,3 @@
|
||||
# UAPI Header export list
|
||||
include include/uapi/asm-generic/Kbuild.asm
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include <linux/reboot.h>
|
||||
#include <linux/elfcore.h>
|
||||
#include <linux/pm.h>
|
||||
#include <linux/rcupdate.h>
|
||||
|
||||
void (*pm_power_off)(void);
|
||||
EXPORT_SYMBOL(pm_power_off);
|
||||
@@ -50,9 +51,10 @@ void __noreturn cpu_idle(void)
|
||||
{
|
||||
/* endless idle loop with no priority at all */
|
||||
while (1) {
|
||||
rcu_idle_enter();
|
||||
while (!need_resched())
|
||||
barrier();
|
||||
|
||||
rcu_idle_exit();
|
||||
schedule_preempt_disabled();
|
||||
}
|
||||
}
|
||||
|
Referência em uma nova issue
Block a user