1
linux/include/asm-m68knommu
Adrian Bunk f22ab814a2 include/asm/ptrace.h userspace headers cleanup
This patch contains the following cleanups for the asm/ptrace.h
userspace headers:

- include/asm-generic/Kbuild.asm already lists ptrace.h, remove
  the superfluous listings in the Kbuild files of the following
  architectures:
  - cris
  - frv
  - powerpc
  - x86
- don't expose function prototypes and macros to userspace:
  - arm
  - blackfin
  - cris
  - mn10300
  - parisc
- remove #ifdef CONFIG_'s around #define's:
  - blackfin
  - m68knommu
- sh: AFAIK __SH5__ should work in both kernel and userspace,
      no need to leak CONFIG_SUPERH64 to userspace
- xtensa: cosmetical change to remove empty
            #ifndef __ASSEMBLY__ #else #endif
          from the userspace headers

Not changed by this patch is the fact that the following architectures
have a different struct pt_regs depending on CONFIG_ variables:
- h8300
- m68knommu
- mips

This does not work in userspace.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: <linux-arch@vger.kernel.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Chris Zankel <chris@zankel.net>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:39 -07:00
..
a.out.h
anchor.h
atomic.h atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency 2007-05-08 11:15:20 -07:00
auxvec.h
bitops.h m68knommu: add ffs and __ffs plattform which support ISA A+ or ISA C 2008-07-23 15:11:28 +10:00
bootinfo.h
bootstd.h [PATCH] m68knommu: fix clobber list in uCdimm/uCsimm helper asm 2006-06-28 15:03:47 -07:00
bug.h
bugs.h
byteorder.h m68knommu: add byteswap assembly opcode for ISA A+ 2008-07-23 15:11:28 +10:00
cache.h
cachectl.h
cacheflush.h m68knommu: use tabs not spaces in cacheflush.h 2008-02-14 20:58:05 -08:00
checksum.h [NET]: M68Knommu checksum annotations and cleanups. 2006-12-02 21:23:08 -08:00
coldfire.h [PATCH] m68knommu: configurable frequency selection header 2006-06-25 21:04:24 -07:00
commproc.h m68knommu: remove RPXCLASSIC from the m68k tree 2008-07-23 15:11:29 +10:00
cputime.h
current.h
dbg.h
delay.h include/asm-m68knommu/: Spelling fixes 2008-02-03 17:38:04 +02:00
device.h Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
div64.h
dma-mapping.h [PATCH] m68knommu: fix dma-mapping.h 2006-12-04 08:28:47 -08:00
dma.h m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms 2008-05-01 08:08:36 -07:00
elf.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
elia.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
emergency-restart.h
entry.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
errno.h
fb.h fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
fcntl.h
flat.h Binfmt_flat: Add minimum support for the Blackfin relocations 2007-10-03 23:41:43 +08:00
fpu.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
futex.h
hardirq.h m68knommu: add prototype for ack_bad_irq 2007-07-26 11:05:20 -07:00
hw_irq.h m68knommu: create hw_irq.h 2007-07-25 11:05:01 -07:00
hwtest.h
io.h remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h [PATCH] m68knommu: fix up for the irq_handler_t changes 2006-11-20 10:16:49 -08:00
irq.h m68knommu: generic irq handling 2007-07-19 10:04:50 -07:00
Kbuild Add empty Kbuild files for 'make headers_install' in remaining arches. 2006-06-18 12:58:53 +01:00
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kmap_types.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
linkage.h
local.h
m520xsim.h [PATCH] m68knommu: memory register defines for 520x ColdFire CPU's 2006-12-04 08:26:12 -08:00
m523xsim.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
m527xsim.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
m528xsim.h [PATCH] m68knommu: GPIO line defines for the ColdFire 5282 2007-03-06 18:08:38 -08:00
m532xsim.h [PATCH] m68knommu: ColdFire 532x register definitions 2006-06-25 17:43:33 -07:00
m5206sim.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
m5249sim.h include/asm-m68knommu/: Spelling fixes 2008-02-03 17:38:04 +02:00
m5272sim.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
m5307sim.h include/asm-m68knommu/: Spelling fixes 2008-02-03 17:38:04 +02:00
m5407sim.h include/asm-m68knommu/: Spelling fixes 2008-02-03 17:38:04 +02:00
m68360_enet.h
m68360_pram.h
m68360_quicc.h
m68360_regs.h include/asm-m68knommu/: Spelling fixes 2008-02-03 17:38:04 +02:00
m68360.h m68knommu: generic irq handling 2007-07-19 10:04:50 -07:00
machdep.h m68knommu: declare do_IRQ() 2008-03-04 08:04:11 -08:00
math-emu.h
mc146818rtc.h
MC68EZ328.h
MC68VZ328.h
MC68328.h
MC68332.h
mcfcache.h m68knommu: fix 528x ColdFire cache settings 2008-02-01 21:00:01 +11:00
mcfdma.h m68knommu: fix definition of MCFDMA_DIR_INV 2007-07-25 11:05:01 -07:00
mcfmbus.h Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
mcfne.h m68knomu: remove dead config symbols from m68knomu code 2008-02-05 09:44:21 -08:00
mcfpci.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
mcfpit.h [PATCH] m68knommu: read/write register access for PIT timer 2006-06-25 17:43:33 -07:00
mcfsim.h m68knomu: remove dead config symbols from m68knomu code 2008-02-05 09:44:21 -08:00
mcfsmc.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
mcftimer.h m68knomu: remove dead config symbols from m68knomu code 2008-02-05 09:44:21 -08:00
mcfuart.h m68knomu: remove dead config symbols from m68knomu code 2008-02-05 09:44:21 -08:00
mcfwdebug.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
md.h
mman.h
mmu_context.h [PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction 2007-05-02 19:27:14 +02:00
mmu.h
module.h m68knommu: local module/elf definitions 2007-10-23 08:32:07 -07:00
movs.h
msgbuf.h
mutex.h
namei.h
nettel.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
openprom.h
oplib.h
page_offset.h [PATCH] m68knommu: use configurable RAM setup page_offset.h 2006-06-26 10:59:44 -07:00
page.h PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
param.h m68knommu: rework definition of HZ 2008-05-01 08:08:36 -07:00
pci.h PCI: remove pci_dac_dma_... APIs 2007-07-11 16:02:11 -07:00
percpu.h
pgalloc.h
pgtable.h m68knommu: include asm-generic/pgtable.h 2007-08-23 21:32:54 -07:00
poll.h
posix_types.h
processor.h fix file specification in comments 2006-10-03 23:01:26 +02:00
ptrace.h include/asm/ptrace.h userspace headers cleanup 2008-07-25 10:53:39 -07:00
quicc_simple.h
resource.h
rtc.h [PATCH] m68knommu: create rtc.h 2006-12-06 07:41:26 -08:00
scatterlist.h m68knommu: remove sg_address() 2007-10-23 12:42:47 +02:00
sections.h
segment.h
sembuf.h
setup.h [PATCH] cleanup asm/setup.h userspace visibility 2006-12-07 08:39:46 -08:00
shm.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [PATCH] irq-flags: M68KNOMMU: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
smp.h
socket.h
sockios.h
spinlock.h
stat.h
statfs.h
string.h
system.h m68knommu: add read_barrier_depends() and irqs_disabled_flags() 2008-07-23 15:11:28 +10:00
termbits.h
termios.h
thread_info.h clean up duplicated alloc/free_thread_info 2008-07-25 10:53:28 -07:00
timex.h m68knommu: fix tick timer definition for coldfire 2007-07-25 11:05:01 -07:00
tlb.h
tlbflush.h remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
topology.h
traps.h m68knommu: generic irq handling 2007-07-19 10:04:50 -07:00
types.h
uaccess.h m68knommu: define __clear_user macro 2007-10-23 08:32:07 -07:00
ucontext.h [PATCH] m68knommu: remove FP conditionals in ucontext struct 2006-12-06 07:41:26 -08:00
unaligned.h kernel: Move arches to use common unaligned access 2008-04-29 08:06:27 -07:00
unistd.h m68k{,nommu}: Wire up new timerfd syscalls 2008-03-04 08:04:11 -08:00
user.h