linux-sg2042/arch/sparc/include/asm
Cesar Eduardo Barros 597781f3e5 kmap_atomic: make kunmap_atomic() harder to misuse
kunmap_atomic() is currently at level -4 on Rusty's "Hard To Misuse"
list[1] ("Follow common convention and you'll get it wrong"), except in
some architectures when CONFIG_DEBUG_HIGHMEM is set[2][3].

kunmap() takes a pointer to a struct page; kunmap_atomic(), however, takes
takes a pointer to within the page itself.  This seems to once in a while
trip people up (the convention they are following is the one from
kunmap()).

Make it much harder to misuse, by moving it to level 9 on Rusty's list[4]
("The compiler/linker won't let you get it wrong").  This is done by
refusing to build if the type of its first argument is a pointer to a
struct page.

The real kunmap_atomic() is renamed to kunmap_atomic_notypecheck()
(which is what you would call in case for some strange reason calling it
with a pointer to a struct page is not incorrect in your code).

The previous version of this patch was compile tested on x86-64.

[1] http://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html
[2] In these cases, it is at level 5, "Do it right or it will always
    break at runtime."
[3] At least mips and powerpc look very similar, and sparc also seems to
    share a common ancestor with both; there seems to be quite some
    degree of copy-and-paste coding here. The include/asm/highmem.h file
    for these three archs mention x86 CPUs at its top.
[4] http://ozlabs.org/~rusty/index.cgi/tech/2008-03-30.html
[5] As an aside, could someone tell me why mn10300 uses unsigned long as
    the first parameter of kunmap_atomic() instead of void *?

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Cc: Russell King <linux@arm.linux.org.uk> (arch/arm)
Cc: Ralf Baechle <ralf@linux-mips.org> (arch/mips)
Cc: David Howells <dhowells@redhat.com> (arch/frv, arch/mn10300)
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> (arch/mn10300)
Cc: Kyle McMartin <kyle@mcmartin.ca> (arch/parisc)
Cc: Helge Deller <deller@gmx.de> (arch/parisc)
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> (arch/parisc)
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> (arch/powerpc)
Cc: Paul Mackerras <paulus@samba.org> (arch/powerpc)
Cc: "David S. Miller" <davem@davemloft.net> (arch/sparc)
Cc: Thomas Gleixner <tglx@linutronix.de> (arch/x86)
Cc: Ingo Molnar <mingo@redhat.com> (arch/x86)
Cc: "H. Peter Anvin" <hpa@zytor.com> (arch/x86)
Cc: Arnd Bergmann <arnd@arndb.de> (include/asm-generic)
Cc: Rusty Russell <rusty@rustcorp.com.au> ("Hard To Misuse" list)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-09 20:44:54 -07:00
..
Kbuild byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
agp.h agp: kill phys_to_gart() and gart_to_phys() 2009-08-03 09:05:00 +01:00
apb.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
apc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
asi.h sparc,leon: Redefine MMU register access asi if CONFIG_LEON 2009-08-17 18:32:09 -07:00
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
asm.h sparc: Add asm/asm.h 2008-12-09 00:50:13 -08:00
asmmacro.h sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
atomic.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
atomic_32.h atomic_t: Cast to volatile when accessing atomic variables 2010-05-17 07:57:27 -07:00
atomic_64.h atomic_t: Cast to volatile when accessing atomic variables 2010-05-17 07:57:27 -07:00
auxio.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
auxio_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
auxio_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
auxvec.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
backoff.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
bbc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
bitext.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
bitops.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
bitops_32.h sparc: asm/bitops.h should define __fls 2008-12-03 16:04:52 -08:00
bitops_64.h bitops: Optimize hweight() by making use of compile-time evaluation 2010-04-06 15:52:11 -07:00
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
btext.h sparc64: Faster early-boot framebuffer console. 2009-11-27 17:33:43 -08:00
btfixup.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
bug.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
bugs.h sparc64: Implement SSTATE purely using notifiers and initcalls. 2008-09-02 00:49:38 -07:00
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h sparc: remove homegrown L1_CACHE_ALIGN macro 2010-06-29 00:38:02 -07:00
cacheflush.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
cacheflush_32.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
cacheflush_64.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
chafsr.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
checksum.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
checksum_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
checksum_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
chmctrl.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
clock.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
cmt.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
compat.h improve sys_newuname() for compat architectures 2010-03-12 15:52:32 -08:00
compat_signal.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
contregs.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
cpudata.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
cpudata_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
cpudata_64.h sparc64: Use a seperate counter for timer interrupts and NMI checks, like x86. 2010-04-12 22:37:07 -07:00
cputime.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
current.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
cypress.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
dcr.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
dcu.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
delay.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
delay_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
delay_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
device.h of: remove asm/of_device.h 2010-07-24 09:57:52 -06:00
display7seg.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
div64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
dma-mapping.h dma-mapping: sparc: unify 32bit and 64bit dma_set_mask 2010-03-12 15:52:42 -08:00
dma.h sparc: Kill now spurious includes of sbus.h 2008-08-29 02:15:23 -07:00
ebus_dma.h sparc: Move EBUS DMA interfaces into seperate header file. 2008-08-29 23:10:21 -07:00
ecc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
eeprom.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
elf.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
elf_32.h elf: kill USE_ELF_CORE_DUMP 2009-12-16 07:20:12 -08:00
elf_64.h sparc: TIF_ABI_PENDING bit removal 2010-01-29 08:22:01 -08:00
emergency-restart.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
envctrl.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
errno.h cfg80211: errno.h: define ERFKILL 2009-06-07 05:01:00 -07:00
estate.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
fb.h of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
fbio.h tree-wide: s/widht/width/g typo in comments 2010-02-05 12:22:42 +01:00
fcntl.h fix up O_SYNC comments 2009-12-17 11:03:24 -05:00
fhc.h sparc64: Rewrite central driver. 2008-08-31 20:56:15 -07:00
fixmap.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
floppy.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
floppy_32.h sparc: Convert remaining sbus_ioremap() and sbus_iounmap() users. 2008-08-29 02:15:13 -07:00
floppy_64.h of/device: Replace of_device with platform_device in includes and core code 2010-07-24 09:58:21 -06:00
fpumacro.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
ftrace.h sparc64: Add proper dynamic ftrace support. 2009-06-16 04:56:53 -07:00
futex.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
futex_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
futex_64.h sparc64: FUTEX_OP_ANDN fix 2008-07-30 15:40:50 -07:00
gpio.h sparc: Add GPIO layer support. 2008-08-24 20:33:56 -07:00
hardirq.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
hardirq_32.h sparc32: convert to asm-generic/hardirq.h 2009-10-01 13:45:13 -07:00
hardirq_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
head.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
head_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
head_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
highmem.h kmap_atomic: make kunmap_atomic() harder to misuse 2010-08-09 20:44:54 -07:00
hugetlb.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
hvtramp.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
hw_irq.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
hypervisor.h sparc64: Add performance counter hypervisor calls for sun4v. 2008-12-04 09:17:09 -08:00
ide.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
idprom.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
intr_queue.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
io-unit.h sparc32: Kill iounit_map_dma_*(). 2008-08-29 02:15:23 -07:00
io.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
io_32.h sparc: Provide io{read,write}{16,32}be(). 2010-03-03 02:30:37 -08:00
io_64.h sparc: Provide io{read,write}{16,32}be(). 2010-03-03 02:30:37 -08:00
ioctl.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
ioctls.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
iommu.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
iommu_32.h sparc: Remove generic SBUS probing layer. 2008-08-29 02:15:21 -07:00
iommu_64.h sparc64: Get rid of pci_controller_info. 2008-09-10 23:07:41 -07:00
ipcbuf.h sparc: unify ipcbuf.h 2009-01-04 15:44:52 -08:00
irq.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
irq_32.h sparc32: convert to asm-generic/hardirq.h 2009-10-01 13:45:13 -07:00
irq_64.h debug lockups: Improve lockup detection, fix generic arch fallback 2009-08-03 09:56:52 +02:00
irq_regs.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
irqflags.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
irqflags_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
irqflags_64.h sparc64: Add some more commentary to __raw_local_irq_save() 2010-04-13 01:50:43 -07:00
jsflash.h sparc: fix warning in userspace header jsflash.h 2009-01-02 21:31:13 -08:00
kdebug.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
kdebug_32.h sparc32: kernel/trace/trace.c wants DIE_OOPS 2008-11-01 21:44:01 -07:00
kdebug_64.h sparc64: Implement NMI watchdog on capable cpus. 2009-01-30 00:03:53 -08:00
kgdb.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
kprobes.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
ldc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
leon.h Added sparc_leon3_snooping_enabled() and converted extern inline to static inline 2009-11-16 02:54:09 -08:00
leon_amba.h sparc,leon: CONFIG_SPARC_LEON option and leon specific files. 2009-08-17 18:32:09 -07:00
linkage.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
local.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
lsu.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
machines.h sparc,leon: Introduce the sparc-leon CPU type. 2009-08-17 18:32:10 -07:00
mbus.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mc146818rtc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mc146818rtc_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mc146818rtc_64.h sparc64: Use generic CMOS driver. 2008-08-29 14:16:48 -07:00
mdesc.h sparc64: Make mdesc_fill_in_cpu_data take a cpumask_t pointer. 2009-06-16 04:56:21 -07:00
memblock.h lmb: rename to memblock 2010-07-14 17:14:00 +10:00
memctrl.h sparc64: Add generic interface for registering a dimm printing handler. 2008-08-24 22:08:34 -07:00
memreg.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mman.h mm: add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions 2009-09-22 07:17:41 -07:00
mmu.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mmu_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mmu_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mmu_context.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mmu_context_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mmu_context_64.h cpumask: use mm_cpumask() wrapper: sparc 2009-03-16 14:40:39 +10:30
mmzone.h numa, cpumask: move numa_node_id default implementation to topology.h, fix 2009-03-19 12:51:25 +01:00
module.h sparc: unify module.h 2008-12-26 15:35:41 -08:00
mpmbox.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
msgbuf.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
msi.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mutex.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
mxcc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
nmi.h sparc64: Initial hw perf counter support. 2009-09-10 06:28:20 -07:00
ns87303.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
obio.h sparc32: Move sun4d show_leds() out of asm/obio.h 2008-09-08 15:40:45 -07:00
openprom.h sparc: unify openprom.h 2009-01-02 21:15:25 -08:00
openpromio.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
oplib.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
oplib_32.h sparc: Kill exports of prom internal functions 2009-01-08 16:58:42 -08:00
oplib_64.h sparc: Kill exports of prom internal functions 2009-01-08 16:58:42 -08:00
page.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
page_32.h sparc32: Fix page_to_phys(). 2010-01-14 03:14:53 -08:00
page_64.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h sparc: Simplify param.h by simply including <asm-generic/param.h> 2010-01-12 02:46:16 -08:00
parport.h of/device: Replace of_device with platform_device in includes and core code 2010-07-24 09:58:21 -06:00
pbm.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pci.h pci-dma: add linux/pci-dma.h to linux/pci.h 2010-03-12 15:52:42 -08:00
pci_32.h pci-dma: sparc: use include/linux/pci-dma.h 2010-03-12 15:52:41 -08:00
pci_64.h pci-dma: sparc: use include/linux/pci-dma.h 2010-03-12 15:52:41 -08:00
pcic.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pcr.h sparc64: Implement NMI watchdog on capable cpus. 2009-01-30 00:03:53 -08:00
percpu.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
percpu_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
percpu_64.h sparc64: Get rid of real_setup_per_cpu_areas(). 2009-06-16 04:56:23 -07:00
perf_event.h perf: Drop the skip argument from perf_arch_fetch_regs_caller 2010-06-08 23:31:27 +02:00
perfctr.h sparc64: Kill off old sys_perfctr system call and state. 2010-03-03 08:08:49 -08:00
pgalloc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pgalloc_32.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
pgalloc_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pgtable.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pgtable_32.h sparc32: Kill none_mask, it's bogus. 2010-05-25 23:36:31 -07:00
pgtable_64.h MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself 2010-02-20 16:41:46 +00:00
pgtsrmmu.h sparc,leon: Introduce the sparc-leon CPU type. 2009-08-17 18:32:10 -07:00
pgtsun4.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pgtsun4c.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pil.h sparc64: Reschedule KGDB capture to a software interrupt. 2009-03-18 23:51:57 -07:00
poll.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
posix_types.h sparc: unify posix_types.h 2009-01-02 18:35:29 -08:00
processor.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
processor_32.h sparc: add '32' suffix to reg_window, sigcontext, __siginfo_t 2009-01-02 19:32:59 -08:00
processor_64.h sparc64: Kill annoying warning when building compat_binfmt_elf.o 2008-11-02 00:15:38 -07:00
prom.h of: Provide default of_node_to_nid() implementation. 2010-07-30 00:03:58 -06:00
psr.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
psrcompat.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
pstate.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
ptrace.h sparc: unify ptrace.h 2009-01-02 19:42:12 -08:00
resource.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
ross.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
rwsem-const.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
rwsem.h sparc: Replace old style lock initializer 2009-11-07 22:41:03 -08:00
sbi.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
scatterlist.h asm-generic: remove ARCH_HAS_SG_CHAIN in scatterlist.h 2010-05-27 09:12:54 -07:00
scratchpad.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
seccomp.h x86-64: seccomp: fix 32/64 syscall hole 2009-03-02 15:41:30 -08:00
sections.h sparc: unify sections.h 2008-12-27 00:35:12 -08:00
sembuf.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
serial.h serial: allow 8250 to be used on sparc 2008-10-13 09:51:40 -07:00
setup.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sfafsr.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sfp-machine.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sfp-machine_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sfp-machine_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
shmbuf.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
shmparam.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
shmparam_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
shmparam_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sigcontext.h sparc: unify sigcontext.h 2009-01-02 19:34:46 -08:00
siginfo.h sparc: unify siginfo.h 2009-01-02 21:10:04 -08:00
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
smp.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
smp_32.h sparc,leon: Sparc-Leon SMP support 2009-11-02 04:19:42 -08:00
smp_64.h cpumask: remove arch_send_call_function_ipi 2009-09-24 09:34:47 +09:30
smpprim.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
socket.h net: Generalize socket rx gap / receive queue overflow cmsg 2009-10-12 13:26:31 -07:00
sockios.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sparsemem.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
spinlock.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
spinlock_32.h locking: Convert raw_rwlock functions to arch_rwlock 2009-12-14 23:55:32 +01:00
spinlock_64.h locking: Convert raw_rwlock functions to arch_rwlock 2009-12-14 23:55:32 +01:00
spinlock_types.h locking: Convert raw_rwlock to arch_rwlock 2009-12-14 23:55:32 +01:00
spitfire.h sparc: unify kernel/cpu 2008-12-07 00:04:30 -08:00
stacktrace.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
starfire.h sparc64: Delete starfire_cpu_setup(). 2008-08-31 01:40:12 -07:00
stat.h sparc: Fix use of uid16_t and gid16_t in asm/stat.h 2010-03-27 08:36:18 -07:00
statfs.h SPARC: Use <asm-generic/statfs.h> 2008-09-06 19:30:17 +01:00
string.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
string_32.h sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}() 2009-12-10 23:32:10 -08:00
string_64.h sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}() 2009-12-10 23:32:10 -08:00
sunbpp.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
swab.h sparc: introduce asm/swab.h 2009-01-06 18:10:27 -08:00
swift.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
syscall.h tracing: Unify arch_syscall_addr() implementations 2010-02-17 13:07:21 +01:00
syscalls.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
sysen.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
system.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
system_32.h sparc,leon: Introduce the sparc-leon CPU type. 2009-08-17 18:32:10 -07:00
system_64.h sparc64: Kill off old sys_perfctr system call and state. 2010-03-03 08:08:49 -08:00
termbits.h sparc: Fix tty compile warnings. 2008-11-12 23:51:54 -08:00
termios.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
thread_info.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
thread_info_32.h add descriptive comment for TIF_MEMDIE task flag declaration. 2010-05-14 11:13:27 +02:00
thread_info_64.h add descriptive comment for TIF_MEMDIE task flag declaration. 2010-05-14 11:13:27 +02:00
timer.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
timer_32.h sparc32: Delete master_l10_limit. 2008-09-19 21:18:03 -07:00
timer_64.h sparc64: Use unsigned long long for u64. 2009-01-06 13:19:28 -08:00
timex.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
timex_32.h sparc: convert to arch_gettimeoffset() 2010-01-15 01:34:28 -08:00
timex_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
tlb.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
tlb_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
tlb_64.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
tlbflush_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
tlbflush_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
topology.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
topology_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
topology_64.h sparc: cpumask_of_node() should handle -1 as a node 2010-01-20 19:04:42 -08:00
trap_block.h sparc64: Store per-cpu offset in trap_block[] 2009-06-16 04:56:11 -07:00
traps.h sparc: drop get_tbr() in traps.h 2009-01-02 21:33:05 -08:00
tsb.h sparc64: Stop using memory barriers for atomics and locks. 2008-12-04 09:16:47 -08:00
tsunami.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
ttable.h sparc64: Make special trap return path for TRAP_NMI(). 2008-12-04 09:17:03 -08:00
turbosparc.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
types.h SPARC: fix duplicate declaration 2009-08-16 18:25:00 -07:00
uaccess.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
uaccess_32.h sparc: copy_from_user() should not return -EFAULT 2010-01-05 20:41:48 -08:00
uaccess_64.h sparc: copy_from_user() should not return -EFAULT 2010-01-05 20:41:48 -08:00
uctx.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
unaligned.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
unistd.h Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
upa.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
user.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
utrap.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
vac-ops.h sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
vaddrs.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
vga.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
viking.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
vio.h BUILD_BUG_ON(): fix it and a couple of bogus uses of it 2009-09-23 07:39:29 -07:00
visasm.h sparc64: Fix sparse warnings in visemul.c 2008-09-11 23:46:40 -07:00
watchdog.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
winmacro.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
xor.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
xor_32.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00
xor_64.h sparc, sparc64: use arch/sparc/include 2008-07-27 23:00:59 +02:00