android_kernel_xiaomi_sm8350/include/asm-parisc
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 aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
agp.h x86: remove flush_agp_mappings() 2008-01-30 13:34:07 +01:00
asmregs.h
assembly.h parisc: use conditional macro for 64-bit wide ops 2008-05-15 11:03:43 -04:00
atomic.h Add cmpxchg_local to parisc 2008-02-07 08:42:32 -08:00
auxvec.h
bitops.h generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h parisc: fix miscompilation of ip_fast_csum with gcc >= 4.3 2008-06-13 10:49:56 -04:00
compat_rt_sigframe.h
compat_signal.h
compat_ucontext.h
compat.h asm-*/compat.h: fix typo in comment 2008-02-03 16:32:51 +02:00
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
eisa_bus.h
eisa_eeprom.h
elf.h [PARISC] clean up include/asm-parisc/elf.h 2008-03-15 19:12:10 -07:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap.h [PARISC] move VMALLOC_* definitions to fixmap.h 2008-03-15 19:11:49 -07:00
floppy.h cleanup floppy.h 2007-10-17 08:42:55 -07:00
futex.h asm-*/futex.h should include linux/uaccess.h 2008-04-30 08:29:52 -07:00
grfioctl.h
hardirq.h
hardware.h
hw_irq.h
ide.h ide: define MAX_HWIFS in <linux/ide.h> 2008-07-24 22:53:30 +02:00
io.h [PARISC] parisc: "extern inline" -> "static inline" 2007-10-18 00:58:41 -07:00
ioctl.h parisc: Remove ioctl.h content picked up from <asm-generic/ioctl.h>. 2008-05-15 11:03:34 -04:00
ioctls.h parisc: new termios definitions 2008-05-15 10:38:54 -04:00
ipcbuf.h
irq_regs.h
irq.h
Kbuild [PARISC] Export pdc.h for palo 2007-10-18 00:58:29 -07:00
kdebug.h
kmap_types.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
led.h
linkage.h include/asm-parisc/: Spelling fixes 2008-02-03 17:00:11 +02:00
local.h
machdep.h
mc146818rtc.h
mckinley.h
mman.h
mmu_context.h
mmu.h
mmzone.h
module.h
msgbuf.h
mutex.h
namei.h
page.h PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
param.h
parisc-device.h
parport.h
pci.h [PARISC] parisc: "extern inline" -> "static inline" 2007-10-18 00:58:41 -07:00
pdc_chassis.h
pdc.h [PARISC] pdc_console: fix bizarre panic on boot 2008-03-15 19:12:03 -07:00
pdcpat.h
percpu.h
perf.h
pgalloc.h [PARISC] unbreak pgalloc.h 2008-03-15 19:11:52 -07: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
prefetch.h [PARISC] parisc: "extern inline" -> "static inline" 2007-10-18 00:58:41 -07:00
processor.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
psw.h
ptrace.h include/asm/ptrace.h userspace headers cleanup 2008-07-25 10:53:39 -07:00
real.h
resource.h
ropes.h
rt_sigframe.h
rtc.h [PARISC] fix uninitialized variable warning in asm/rtc.h 2007-10-20 13:23:00 -07:00
runway.h
scatterlist.h parisc: fix sg_page() fallout 2007-10-23 09:49:31 +02:00
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h parisc: convert to generic helpers for IPI function calls 2008-06-26 11:22:57 +02:00
socket.h flag parameters: paccept 2008-07-24 10:47:27 -07:00
sockios.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
superio.h
system.h
termbits.h parisc: new termios definitions 2008-05-15 10:38:54 -04:00
termios.h parisc: new termios definitions 2008-05-15 10:38:54 -04:00
thread_info.h clean up duplicated alloc/free_thread_info 2008-07-25 10:53:28 -07:00
timex.h
tlb.h add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
tlbflush.h remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
topology.h
traps.h
types.h parisc: types: use <asm-generic/int-*.h> for the parisc architecture 2008-05-02 16:18:32 -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 [PARISC] bump __NR_syscalls 2008-03-15 19:11:54 -07:00
unwind.h
user.h
vga.h vga.h: Fix prepocessor warning 2008-02-03 15:59:02 +02:00
xor.h