android_kernel_xiaomi_sm8350/arch/arm/include/asm
Peter Zijlstra c99e6efe1b sched: INIT_PREEMPT_COUNT
Pull the initial preempt_count value into a single
definition site.

Maintainers for: alpha, ia64 and m68k, please have a look,
your arch code is funny.

The header magic is a bit odd, but similar to the KERNEL_DS
one, CPP waits with expanding these macros until the
INIT_THREAD_INFO macro itself is expanded, which is in
arch/*/kernel/init_task.c where we've already included
sched.h so we're good.

Cc: tony.luck@intel.com
Cc: rth@twiddle.net
Cc: geert@linux-m68k.org
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-10 14:24:05 -07:00
..
hardware Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel 2009-06-14 11:00:16 +01:00
mach omap iommu: simple virtual address space management 2009-05-19 08:23:49 +03:00
a.out-core.h
a.out.h headers_check fix: arm, a.out.h 2009-02-01 11:01:22 +05:30
assembler.h [ARM] barriers: improve xchg, bitops and atomic SMP barriers 2009-05-28 19:39:27 +01:00
atomic.h asm-generic: rename atomic.h to atomic-long.h 2009-06-11 21:02:17 +02:00
auxvec.h
bitops.h [ARM] 5339/1: fix __fls() on ARM 2008-12-04 09:21:55 +00:00
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h [ARM] 5211/2: fix a couple warnings from BUG() usage 2008-09-01 12:06:27 +01:00
bugs.h
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h [ARM] 5534/1: kmalloc must return a cache line aligned buffer 2009-06-02 22:36:15 +01:00
cacheflush.h [ARM] 5545/2: add flush_kernel_dcache_page() for ARM 2009-06-14 11:20:37 +01:00
cachetype.h [ARM] Introduce new bitmask based cache type macros 2008-09-25 15:35:28 +01:00
checksum.h
clkdev.h [ARM] clkdev: add generic clkdev infrastructure 2008-11-27 12:38:21 +00:00
cpu-multi32.h
cpu-single.h
cpu.h
cputime.h
cputype.h Check whether the TLB operations need broadcasting on SMP systems 2009-05-30 14:00:14 +01:00
current.h
delay.h
device.h
div64.h [ARM] 5320/1: fix assembly constraints in implementation of do_div() 2008-10-23 12:53:32 +01:00
dma-mapping.h [ARM] make page_to_dma() highmem aware 2009-03-15 21:01:21 -04:00
dma.h [ARM] dma: remove dmamode_t typedef 2009-01-02 12:34:55 +00:00
domain.h
ecard.h
elf.h [ARM] 5507/1: support R_ARM_MOVW_ABS_NC and MOVT_ABS relocation types 2009-05-07 17:21:01 +01:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fiq.h
fixmap.h [ARM] fixmap support 2009-03-15 21:01:20 -04:00
flat.h flat: fix data sections alignment 2009-05-29 08:40:02 -07:00
floppy.h
fpstate.h
ftrace.h ftrace: rename FTRACE to FUNCTION_TRACER 2008-10-20 18:27:03 +02:00
futex.h [ARM] 5218/1: arm: improved futex support 2008-09-01 12:06:26 +01:00
glue.h
gpio.h
hardirq.h
highmem.h [ARM] introduce dma_cache_maint_page() 2009-03-15 21:01:21 -04:00
hw_irq.h
hwcap.h [ARM] 5388/1: Add hwcap bits for VFPv3 and VFPv3D16 2009-02-12 10:59:44 +00:00
ide.h
io.h [ARM] Add a common typesafe __io implementation 2008-11-30 11:45:54 +00:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h [ARM] give RiscPC a NR_IRQS definition and remove default 2008-11-29 19:14:31 +00:00
irqflags.h
Kbuild byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
kdebug.h
kexec.h
kgdb.h
kmap_types.h [ARM] Feroceon: add highmem support to L2 cache handling code 2009-03-15 21:01:21 -04:00
kprobes.h [ARM] 5206/1: remove kprobe_trap_handler() hack 2008-09-01 12:06:26 +01:00
leds.h
limits.h
linkage.h
local.h
localtimer.h [ARM] smp: allow re-use of realview localtimer TWD support 2009-05-17 19:16:41 +01:00
locks.h
mc146818rtc.h [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
memory.h [ARM] make page_to_dma() highmem aware 2009-03-15 21:01:21 -04:00
mman.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
mmu_context.h [ARM] Remove linux/sched.h from asm/cacheflush.h and asm/uaccess.h 2008-11-29 18:49:55 +00:00
mmu.h NOMMU: Make VMAs per MM as for MMU-mode linux 2009-01-08 12:04:47 +00:00
mmzone.h
module.h [ARM] 5384/1: unwind: Add stack unwinding support for loadable modules 2009-02-19 11:27:19 +00:00
msgbuf.h
mtd-xip.h [ARM] move asm/xip.h's mach/hardware.h include to mach/xip.h 2008-12-14 13:22:51 +00:00
mutex.h
nwflash.h
page-nommu.h
page.h [ARM] 5565/2: Use PAGE_SIZE and RO_DATA() in link script 2009-06-25 14:00:59 +01:00
param.h
parport.h
pci.h Delete pcibios_select_root 2009-06-17 14:04:42 -07:00
percpu.h
pgalloc.h
pgtable-hwdef.h
pgtable-nommu.h
pgtable.h [ARM] pgtable: file pte layout documentation 2009-07-05 15:31:35 +01:00
poll.h
posix_types.h
proc-fns.h Merge branch 'for-rmk' of git://gitorious.org/linux-gemini/mainline into devel 2009-03-26 23:10:11 +00:00
processor.h Add core support for ARMv6/v7 big-endian 2009-05-30 14:00:18 +01:00
procinfo.h
ptrace.h Add core support for ARMv6/v7 big-endian 2009-05-30 14:00:18 +01:00
resource.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h headers_check fix: arm, setup.h 2009-02-01 11:01:22 +05:30
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
sizes.h [ARM] Kirkwood: create a mapping for the Security Accelerator SRAM 2009-06-08 13:05:02 -04:00
smp_scu.h [ARM] smp: separate SCU support code from realview 2009-05-17 19:00:37 +01:00
smp_twd.h [ARM] smp: allow re-use of realview localtimer TWD support 2009-05-17 19:16:41 +01:00
smp.h [ARM] smp: use new cpumask functions 2009-05-28 14:16:52 +01:00
socket.h net: new user space API for time stamping of incoming and outgoing packets 2009-02-15 22:43:33 -08:00
sockios.h
sparsemem.h [ARM] mm: enable sparsemem on clps7500 and RiscPC 2008-10-01 17:24:04 +01:00
spinlock_types.h
spinlock.h Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
stacktrace.h [ARM] 5382/1: unwind: Reorganise the stacktrace support 2009-02-12 13:21:17 +00:00
stat.h
statfs.h ARM: Use <asm-generic/statfs.h> 2008-09-04 09:46:11 +01:00
string.h [ARM] remove memzero() 2008-11-27 12:37:59 +00:00
swab.h headers_check fix: arm, swab.h 2009-02-01 11:01:23 +05:30
system.h [ARM] Add cmpxchg support for ARMv6+ systems (v5) 2009-05-28 21:10:31 +01:00
termbits.h
termios.h
therm.h
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
thread_notify.h
timex.h
tlb.h [ARM] 5450/1: Flush only the needed range when unmapping a VMA 2009-04-15 10:01:02 +01:00
tlbflush.h Check whether the TLB operations need broadcasting on SMP systems 2009-05-30 14:00:14 +01:00
topology.h
traps.h [ARM] 5381/1: unwind: Reorganise the traps.c code 2009-02-12 13:21:15 +00:00
types.h
uaccess.h [ARM] allow for alternative __copy_to_user/__clear_user implementations 2009-05-29 22:34:45 -04:00
ucontext.h
unaligned.h
unistd.h [ARM] wire up rt_tgsigqueueinfo and perf_counter_open 2009-06-20 22:25:45 +01:00
unwind.h [ARM] 5383/2: unwind: Add core support for ARM stack unwinding 2009-02-19 11:26:24 +00:00
user.h [ARM] 5387/1: Add ptrace VFP support on ARM 2009-02-12 10:59:43 +00:00
vfp.h
vfpmacros.h
vga.h [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
xor.h