mirror of https://github.com/torvalds/linux.git
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>
|
||
|---|---|---|
| .. | ||
| arch-aaec2000 | ||
| arch-at91 | ||
| arch-cl7500 | ||
| arch-clps711x | ||
| arch-davinci | ||
| arch-ebsa110 | ||
| arch-ebsa285 | ||
| arch-ep93xx | ||
| arch-h720x | ||
| arch-imx | ||
| arch-integrator | ||
| arch-iop13xx | ||
| arch-iop32x | ||
| arch-iop33x | ||
| arch-ixp4xx | ||
| arch-ixp23xx | ||
| arch-ixp2000 | ||
| arch-kirkwood | ||
| arch-ks8695 | ||
| arch-l7200 | ||
| arch-lh7a40x | ||
| arch-loki | ||
| arch-msm | ||
| arch-mv78xx0 | ||
| arch-mxc | ||
| arch-netx | ||
| arch-ns9xxx | ||
| arch-omap | ||
| arch-orion5x | ||
| arch-pnx4008 | ||
| arch-pxa | ||
| arch-realview | ||
| arch-rpc | ||
| arch-s3c2400 | ||
| arch-s3c2410 | ||
| arch-sa1100 | ||
| arch-shark | ||
| arch-versatile | ||
| hardware | ||
| mach | ||
| plat-orion | ||
| plat-s3c | ||
| plat-s3c24xx | ||
| .gitignore | ||
| Kbuild | ||
| a.out-core.h | ||
| a.out.h | ||
| assembler.h | ||
| atomic.h | ||
| auxvec.h | ||
| bitops.h | ||
| bug.h | ||
| bugs.h | ||
| byteorder.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| cnt32_to_63.h | ||
| cpu-multi32.h | ||
| cpu-single.h | ||
| cpu.h | ||
| cputime.h | ||
| current.h | ||
| delay.h | ||
| device.h | ||
| div64.h | ||
| dma-mapping.h | ||
| dma.h | ||
| domain.h | ||
| ecard.h | ||
| elf.h | ||
| emergency-restart.h | ||
| errno.h | ||
| fb.h | ||
| fcntl.h | ||
| fiq.h | ||
| flat.h | ||
| floppy.h | ||
| fpstate.h | ||
| ftrace.h | ||
| futex.h | ||
| glue.h | ||
| gpio.h | ||
| hardirq.h | ||
| hardware.h | ||
| hw_irq.h | ||
| hwcap.h | ||
| ide.h | ||
| io.h | ||
| ioctl.h | ||
| ioctls.h | ||
| ipcbuf.h | ||
| irq.h | ||
| irq_regs.h | ||
| irqflags.h | ||
| kdebug.h | ||
| kexec.h | ||
| kgdb.h | ||
| kmap_types.h | ||
| kprobes.h | ||
| kvm.h | ||
| leds.h | ||
| limits.h | ||
| linkage.h | ||
| local.h | ||
| locks.h | ||
| mc146818rtc.h | ||
| memory.h | ||
| mman.h | ||
| mmu.h | ||
| mmu_context.h | ||
| mmzone.h | ||
| module.h | ||
| msgbuf.h | ||
| mtd-xip.h | ||
| mutex.h | ||
| namei.h | ||
| nwflash.h | ||
| page-nommu.h | ||
| page.h | ||
| param.h | ||
| parport.h | ||
| pci.h | ||
| percpu.h | ||
| pgalloc.h | ||
| pgtable-hwdef.h | ||
| pgtable-nommu.h | ||
| pgtable.h | ||
| poll.h | ||
| posix_types.h | ||
| proc-fns.h | ||
| processor.h | ||
| procinfo.h | ||
| ptrace.h | ||
| 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 | ||
| socket.h | ||
| sockios.h | ||
| sparsemem.h | ||
| spinlock.h | ||
| spinlock_types.h | ||
| stat.h | ||
| statfs.h | ||
| string.h | ||
| suspend.h | ||
| system.h | ||
| termbits.h | ||
| termios.h | ||
| therm.h | ||
| thread_info.h | ||
| thread_notify.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| topology.h | ||
| traps.h | ||
| types.h | ||
| uaccess.h | ||
| ucontext.h | ||
| unaligned.h | ||
| unistd.h | ||
| user.h | ||
| vfp.h | ||
| vfpmacros.h | ||
| vga.h | ||
| xor.h | ||