Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1390020

Re: [tip:sched/core] sched/core, ARM: Include linux/preempt.h from asm/mmu_context.h

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [tip:sched/core] sched/core, ARM: Include linux/preempt.h from asm/mmu_context.h
Date 2016-04-28 12:50 +0200
Message-ID <rsRGa-1DA-11@gated-at.bofh.it> (permalink)
References <rsebN-2ma-43@gated-at.bofh.it> <rsRww-1zl-73@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I've not got around to looking at this yet as I've been away, and I'm
still catching up with email.

On Thu, Apr 28, 2016 at 03:29:57AM -0700, tip-bot for Andy Lutomirski wrote:
> Commit-ID:  88f10e37e150569a390be7a6161fa0f26b7372e9
> Gitweb:     http://git.kernel.org/tip/88f10e37e150569a390be7a6161fa0f26b7372e9
> Author:     Andy Lutomirski <luto@kernel.org>
> AuthorDate: Tue, 26 Apr 2016 09:39:05 -0700
> Committer:  Ingo Molnar <mingo@kernel.org>
> CommitDate: Thu, 28 Apr 2016 11:08:41 +0200
> 
> sched/core, ARM: Include linux/preempt.h from asm/mmu_context.h
> 
> arm's mmu_context.h uses preempt_enable_no_resched and but doesn't
> include anything that would pull in the declaration.
> 
> If I start including <asm/mmu_context.h> from <linux/mmu_context.h>
> without this, the build breaks.
> 
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> Reviewed-by: Borislav Petkov <bp@suse.de>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Link: http://lkml.kernel.org/r/5b95730a70f2dafe12d4fbf38d20eb7330d67ba3.1461688545.git.luto@kernel.org
> Signed-off-by: Ingo Molnar <mingo@kernel.org>
> ---
>  arch/arm/include/asm/mmu_context.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/include/asm/mmu_context.h b/arch/arm/include/asm/mmu_context.h
> index fa5b42d..ed73bab 100644
> --- a/arch/arm/include/asm/mmu_context.h
> +++ b/arch/arm/include/asm/mmu_context.h
> @@ -15,6 +15,7 @@
>  
>  #include <linux/compiler.h>
>  #include <linux/sched.h>
> +#include <linux/preempt.h>
>  #include <asm/cacheflush.h>
>  #include <asm/cachetype.h>
>  #include <asm/proc-fns.h>

-- 
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/5] x86 switch_mm uninlining and IRQ improvements Andy Lutomirski <luto@kernel.org> - 2016-04-26 18:40 +0200
  [PATCH v2 3/5] x86/mm: Build arch/x86/mm/tlb.c even on !SMP Andy Lutomirski <luto@kernel.org> - 2016-04-26 18:40 +0200
    [tip:sched/core] x86/mm: Build arch/x86/mm/tlb.c even on !SMP tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-04-28 12:50 +0200
  [PATCH v2 4/5] x86/mm: Uninline switch_mm Andy Lutomirski <luto@kernel.org> - 2016-04-26 18:40 +0200
    [tip:sched/core] x86/mm, sched/core: Uninline switch_mm() tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-04-28 12:50 +0200
  [PATCH v2 5/5] x86/mm: Turn off IRQs in switch_mm Andy Lutomirski <luto@kernel.org> - 2016-04-26 18:40 +0200
    [tip:sched/core] x86/mm, sched/core: Turn off IRQs in switch_mm() tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-04-28 12:50 +0200
  [PATCH v2 1/5] arm: Include linux/preempt.h from asm/mmu_context.h Andy Lutomirski <luto@kernel.org> - 2016-04-26 18:40 +0200
    [tip:sched/core] sched/core, ARM: Include linux/preempt.h from  asm/mmu_context.h tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-04-28 12:40 +0200
      Re: [tip:sched/core] sched/core, ARM: Include linux/preempt.h from  asm/mmu_context.h Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-28 12:50 +0200
    Re: [PATCH v2 1/5] arm: Include linux/preempt.h from  asm/mmu_context.h Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-28 15:30 +0200
  [PATCH v2 2/5] sched: Add switch_mm_irqs_off and use it in the scheduler Andy Lutomirski <luto@kernel.org> - 2016-04-26 18:50 +0200
    [tip:sched/core] sched/core: Add switch_mm_irqs_off() and use it in  the scheduler tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-04-28 12:50 +0200
  Re: [PATCH v2 0/5] x86 switch_mm uninlining and IRQ improvements Borislav Petkov <bp@alien8.de> - 2016-04-27 20:10 +0200

csiph-web