linux/include/asm-arm
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
..
arch-aaec2000
arch-at91 mmc: at91_mci: avoid timeouts 2008-07-15 14:14:42 +02:00
arch-cl7500
arch-clps711x
arch-davinci
arch-ebsa110
arch-ebsa285 [ARM] 5015/1: arm: remove ARCH_CO285 2008-05-02 23:44:57 +01:00
arch-ep93xx [ARM] 4988/1: Add GPIO lib support to the EP93xx 2008-04-19 14:01:43 +01:00
arch-h720x
arch-imx Merge branch 'imx' into devel 2008-07-10 16:41:50 +01:00
arch-integrator
arch-iop13xx Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2008-07-23 12:03:18 -07:00
arch-iop32x [ARM] 5160/1: IOP3XX: gpio/gpiolib support 2008-07-09 23:31:42 +01:00
arch-iop33x [ARM] 5160/1: IOP3XX: gpio/gpiolib support 2008-07-09 23:31:42 +01:00
arch-ixp4xx [ARM] 4874/2: ixp4xx: Add support for the Freecom FSG-3 board 2008-04-04 10:03:59 +01:00
arch-ixp23xx
arch-ixp2000
arch-kirkwood [ARM] Kirkwood: support L2 writeback mode 2008-06-30 14:25:24 -04:00
arch-ks8695 [ARM] 4981/1: [KS8695] Simple LED driver 2008-04-17 15:58:25 +01:00
arch-l7200
arch-lh7a40x
arch-loki [ARM] add Marvell Loki (88RC8480) SoC support 2008-06-22 22:45:02 +02:00
arch-msm [ARM] fix header guards 2008-07-03 16:39:56 +01:00
arch-mv78xx0 [ARM] add Marvell 78xx0 ARM SoC support 2008-06-22 22:45:10 +02:00
arch-mxc i.MX27 family: Add the Phytec PCM970 evaluation board 2008-07-05 10:03:01 +02:00
arch-netx
arch-ns9xxx ns9xxx: fix assembler version of __REG2 to be consistent with the C version 2008-05-30 10:46:11 +02:00
arch-omap ARM: OMAP2: Clock: New OMAP2/3 DPLL rate rounding algorithm 2008-07-03 12:24:46 +03:00
arch-orion5x [ARM] Orion: add a separate BRIDGE_INT_TIMER1_CLR define 2008-06-22 22:45:01 +02:00
arch-pnx4008
arch-pxa [ARM] Merge most of the PXA work for initial merge 2008-07-14 23:34:46 +01:00
arch-realview RealView: Add uncompressing support for PB1176 2008-04-18 22:43:16 +01:00
arch-rpc [ARM] rpc: deprecate __ioaddr() and __ioaddrc() helpers 2008-07-03 14:25:58 +01:00
arch-s3c2400
arch-s3c2410 MMC: S3C24XX MMC/SD driver. 2008-07-15 14:14:46 +02:00
arch-sa1100 pm: remove remaining obsolete definitions from pm.h 2008-07-24 10:47:22 -07:00
arch-shark
arch-versatile
hardware Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2008-07-23 12:03:18 -07:00
mach Merge branch 'pxa' into devel 2008-07-13 12:05:49 +01:00
plat-orion Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2008-07-23 12:03:18 -07:00
plat-s3c [ARM] S3C24XX: Add PWM timer MUX defines 2008-07-03 16:51:23 +01:00
plat-s3c24xx MMC: S3C24XX: Add media presence test to request handling. 2008-07-15 14:14:48 +02:00
.gitignore
a.out-core.h aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUT 2008-02-08 09:22:30 -08:00
a.out.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
assembler.h [ARM] cache align destination pointer when copying memory for some processors 2008-06-22 22:44:38 +02:00
atomic.h
auxvec.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h Merge branches 'at91', 'dyntick', 'ep93xx', 'iop', 'ixp', 'misc', 'orion', 'omap-reviewed', 'rpc', 'rtc' and 's3c' into devel 2008-07-10 16:38:50 +01:00
checksum.h
cnt32_to_63.h
cpu-multi32.h Add a prefetch abort handler 2008-04-18 22:43:07 +01:00
cpu-single.h
cpu.h
cputime.h
current.h
delay.h
device.h
div64.h rename div64_64 to div64_u64 2008-05-01 08:03:58 -07:00
dma-mapping.h
dma.h
domain.h
ecard.h [ARM] rpc: ecard: remove deprecated ecard_address() and relatives 2008-07-03 14:25:58 +01:00
elf.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fiq.h
flat.h
floppy.h
fpstate.h
ftrace.h ftrace: store mcount address in rec->ip 2008-06-23 22:10:56 +02:00
futex.h
glue.h Add a prefetch abort handler 2008-04-18 22:43:07 +01:00
gpio.h
hardirq.h
hardware.h
hw_irq.h [ARM] dyntick: Remove obsolete and unused ARM dyntick support 2008-05-12 17:39:14 +01:00
hwcap.h ARMv7: Add support for the ThumbEE state saving/restoring 2008-04-18 22:43:06 +01:00
ide.h ide: define MAX_HWIFS in <linux/ide.h> 2008-07-24 22:53:30 +02:00
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
Kbuild
kdebug.h
kexec.h There is no need to have BOOT_PARAMS_SIZE known outside of atags.c 2008-05-30 10:30:05 +02:00
kgdb.h kgdb: support for ARCH=arm 2008-07-23 11:30:15 -05:00
kmap_types.h
kprobes.h ftrace: export kretprobe_trampoline for function tracer 2008-06-02 13:32:10 +02:00
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
leds.h
limits.h
linkage.h
local.h
locks.h
mc146818rtc.h
memory.h [ARM] Add initial sparsemem support 2008-04-19 11:36:48 +01:00
mman.h
mmu_context.h [ARM] 5092/1: Fix the I-cache invalidation on ARMv6 and later CPUs 2008-07-03 16:39:57 +01:00
mmu.h
mmzone.h
module.h
msgbuf.h
mtd-xip.h
mutex.h misc: removal of final callers using fastcall 2008-02-08 09:22:31 -08:00
namei.h
nwflash.h
page-nommu.h PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -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
parport.h
pci.h
percpu.h
pgalloc.h CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
pgtable-hwdef.h
pgtable-nommu.h [ARM] 5060/1: remove unnecessary include of asm/io.h 2008-06-01 11:22:25 +01:00
pgtable.h mm: introduce pte_special pte bit 2008-04-28 08:58:23 -07:00
poll.h
posix_types.h asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
proc-fns.h [ARM] include/asm-arm - use angle brackets for includes 2008-03-06 12:18:18 +00:00
processor.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
procinfo.h
ptrace.h include/asm/ptrace.h userspace headers cleanup 2008-07-25 10:53:39 -07:00
resource.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sizes.h
smp.h arm: convert to generic helpers for IPI function calls 2008-06-26 11:22:57 +02:00
socket.h
sockios.h
sparsemem.h [ARM] Add initial sparsemem support 2008-04-19 11:36:48 +01:00
spinlock_types.h
spinlock.h [ARM] 5067/1: _raw_write_can_lock macro bugfix 2008-06-02 13:44:17 +01:00
stat.h
statfs.h
string.h
suspend.h
system.h [ARM] 5053/1: define before use of processor_id 2008-05-23 13:50:08 +01:00
termbits.h
termios.h
therm.h
thread_info.h clean up duplicated alloc/free_thread_info 2008-07-25 10:53:28 -07:00
thread_notify.h
timex.h
tlb.h add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
tlbflush.h [ARM] Feroceon: L2 cache support 2008-06-22 22:45:04 +02:00
topology.h
traps.h kgdb: support for ARCH=arm 2008-07-23 11:30:15 -05:00
types.h arm: types: use <asm-generic/int-*.h> for the arm architecture 2008-05-02 16:18:20 -07:00
uaccess.h
ucontext.h
unaligned.h kernel: Move arches to use common unaligned access 2008-04-29 08:06:27 -07:00
unistd.h [ARM] 4852/1: Add timerfd_create, timerfd_settime and timerfd_gettime syscall entries 2008-04-19 11:28:06 +01:00
user.h Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
vfp.h
vfpmacros.h
vga.h
xor.h