x86, um: now we can get rid of trivial uml headers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
		
					parent
					
						
							
								bb8985586b
							
						
					
				
			
			
				commit
				
					
						1de1502c96
					
				
			
		
					 60 changed files with 2 additions and 371 deletions
				
			
		|  | @ -66,6 +66,8 @@ include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH) | |||
| #This will adjust *FLAGS accordingly to the platform.
 | ||||
| include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS) | ||||
| 
 | ||||
| KBUILD_CPPFLAGS += -I$(srctree)/arch/$(HEADER_ARCH)/include | ||||
| 
 | ||||
| # -Derrno=kernel_errno - This turns all kernel references to errno into
 | ||||
| # kernel_errno to separate them from the libc errno.  This allows -fno-common
 | ||||
| # in KBUILD_CFLAGS.  Otherwise, it would cause ld to complain about the two different
 | ||||
|  |  | |||
|  | @ -1,11 +0,0 @@ | |||
| /*
 | ||||
|  * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||||
|  * Licensed under the GPL | ||||
|  */ | ||||
| 
 | ||||
| #ifndef __UM_A_OUT_H | ||||
| #define __UM_A_OUT_H | ||||
| 
 | ||||
| #include "asm/arch/a.out.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_ALTERNATIVE_ASM_I | ||||
| #define __UM_ALTERNATIVE_ASM_I | ||||
| 
 | ||||
| #include "asm/arch/alternative-asm.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_ALTERNATIVE_H | ||||
| #define __UM_ALTERNATIVE_H | ||||
| 
 | ||||
| #include "asm/arch/alternative.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_ASM_H | ||||
| #define __UM_ASM_H | ||||
| 
 | ||||
| #include "asm/arch/asm.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,10 +0,0 @@ | |||
| #ifndef __UM_BITOPS_H | ||||
| #define __UM_BITOPS_H | ||||
| 
 | ||||
| #ifndef _LINUX_BITOPS_H | ||||
| #error only <linux/bitops.h> can be included directly | ||||
| #endif | ||||
| 
 | ||||
| #include "asm/arch/bitops.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_BOOT_H | ||||
| #define __UM_BOOT_H | ||||
| 
 | ||||
| #include "asm/arch/boot.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_BUG_H | ||||
| #define __UM_BUG_H | ||||
| 
 | ||||
| #include <asm-generic/bug.h> | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_BYTEORDER_H | ||||
| #define __UM_BYTEORDER_H | ||||
| 
 | ||||
| #include "asm/arch/byteorder.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_CACHEFLUSH_H | ||||
| #define __UM_CACHEFLUSH_H | ||||
| 
 | ||||
| #include "asm/arch/cacheflush.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,9 +0,0 @@ | |||
| # Copyright 2003 - 2004 Pathscale, Inc | ||||
| # Released under the GPL | ||||
| 
 | ||||
| #ifndef __UM_CALLING_H /* XXX x86_64 */ | ||||
| #define __UM_CALLING_H | ||||
| 
 | ||||
| #include "asm/arch/calling.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_CMPXCHG_H | ||||
| #define __UM_CMPXCHG_H | ||||
| 
 | ||||
| #include "asm/arch/cmpxchg.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_COBALT_H | ||||
| #define __UM_COBALT_H | ||||
| 
 | ||||
| #include "asm/arch/cobalt.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_CPUFEATURE_H | ||||
| #define __UM_CPUFEATURE_H | ||||
| 
 | ||||
| #include "asm/arch/cpufeature.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef _UM_DIV64_H | ||||
| #define _UM_DIV64_H | ||||
| 
 | ||||
| #include "asm/arch/div64.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,11 +0,0 @@ | |||
| /* Copyright 2003 - 2004 Pathscale, Inc
 | ||||
|  * Released under the GPL | ||||
|  */ | ||||
| 
 | ||||
| /* Needed on x86_64 by thunk.S */ | ||||
| #ifndef __UM_DWARF2_H | ||||
| #define __UM_DWARF2_H | ||||
| 
 | ||||
| #include "asm/arch/dwarf2.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_ERRNO_H | ||||
| #define __UM_ERRNO_H | ||||
| 
 | ||||
| #include "asm/arch/errno.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_FCNTL_H | ||||
| #define __UM_FCNTL_H | ||||
| 
 | ||||
| #include "asm/arch/fcntl.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_FLOPPY_H | ||||
| #define __UM_FLOPPY_H | ||||
| 
 | ||||
| #include "asm/arch/floppy.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_FRAME_I | ||||
| #define __UM_FRAME_I | ||||
| 
 | ||||
| #include "asm/arch/frame.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_IDE_H | ||||
| #define __UM_IDE_H | ||||
| 
 | ||||
| #include "asm/arch/ide.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_IOCTL_H | ||||
| #define __UM_IOCTL_H | ||||
| 
 | ||||
| #include "asm/arch/ioctl.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_IOCTLS_H | ||||
| #define __UM_IOCTLS_H | ||||
| 
 | ||||
| #include "asm/arch/ioctls.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_IPCBUF_H | ||||
| #define __UM_IPCBUF_H | ||||
| 
 | ||||
| #include "asm/arch/ipcbuf.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __ASM_UM_LINKAGE_H | ||||
| #define __ASM_UM_LINKAGE_H | ||||
| 
 | ||||
| #include "asm/arch/linkage.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_LOCAL_H | ||||
| #define __UM_LOCAL_H | ||||
| 
 | ||||
| #include "asm/arch/local.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_LOCKS_H | ||||
| #define __UM_LOCKS_H | ||||
| 
 | ||||
| #include "asm/arch/locks.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef mca___UM_DMA_H | ||||
| #define mca___UM_DMA_H | ||||
| 
 | ||||
| #include "asm/arch/mca_dma.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_MMAN_H | ||||
| #define __UM_MMAN_H | ||||
| 
 | ||||
| #include "asm/arch/mman.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_MSGBUF_H | ||||
| #define __UM_MSGBUF_H | ||||
| 
 | ||||
| #include "asm/arch/msgbuf.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_MTRR_H | ||||
| #define __UM_MTRR_H | ||||
| 
 | ||||
| #include "asm/arch/mtrr.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_NOPS_H | ||||
| #define __UM_NOPS_H | ||||
| 
 | ||||
| #include "asm/arch/nops.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_PARAVIRT_H | ||||
| #define __UM_PARAVIRT_H | ||||
| 
 | ||||
| #include "asm/arch/paravirt.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_PERCPU_H | ||||
| #define __UM_PERCPU_H | ||||
| 
 | ||||
| #include "asm/arch/percpu.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_POLL_H | ||||
| #define __UM_POLL_H | ||||
| 
 | ||||
| #include "asm/arch/poll.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_POSIX_TYPES_H | ||||
| #define __UM_POSIX_TYPES_H | ||||
| 
 | ||||
| #include "asm/arch/posix_types.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_PRCTL_H | ||||
| #define __UM_PRCTL_H | ||||
| 
 | ||||
| #include "asm/arch/prctl.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_RESOURCE_H | ||||
| #define __UM_RESOURCE_H | ||||
| 
 | ||||
| #include "asm/arch/resource.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_RWLOCK_H | ||||
| #define __UM_RWLOCK_H | ||||
| 
 | ||||
| #include "asm/arch/rwlock.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_RWSEM_H__ | ||||
| #define __UM_RWSEM_H__ | ||||
| 
 | ||||
| #include "asm/arch/rwsem.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SCATTERLIST_H | ||||
| #define __UM_SCATTERLIST_H | ||||
| 
 | ||||
| #include "asm/arch/scatterlist.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SEMBUF_H | ||||
| #define __UM_SEMBUF_H | ||||
| 
 | ||||
| #include "asm/arch/sembuf.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SERIAL_H | ||||
| #define __UM_SERIAL_H | ||||
| 
 | ||||
| #include "asm/arch/serial.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SHMBUF_H | ||||
| #define __UM_SHMBUF_H | ||||
| 
 | ||||
| #include "asm/arch/shmbuf.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SHMPARAM_H | ||||
| #define __UM_SHMPARAM_H | ||||
| 
 | ||||
| #include "asm/arch/shmparam.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SIGINFO_H | ||||
| #define __UM_SIGINFO_H | ||||
| 
 | ||||
| #include "asm/arch/siginfo.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SOCKET_H | ||||
| #define __UM_SOCKET_H | ||||
| 
 | ||||
| #include "asm/arch/socket.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SOCKIOS_H | ||||
| #define __UM_SOCKIOS_H | ||||
| 
 | ||||
| #include "asm/arch/sockios.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SPINLOCK_H | ||||
| #define __UM_SPINLOCK_H | ||||
| 
 | ||||
| #include "asm/arch/spinlock.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_SPINLOCK_TYPES_H | ||||
| #define __UM_SPINLOCK_TYPES_H | ||||
| 
 | ||||
| #include "asm/arch/spinlock_types.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_STAT_H | ||||
| #define __UM_STAT_H | ||||
| 
 | ||||
| #include "asm/arch/stat.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef _UM_STATFS_H | ||||
| #define _UM_STATFS_H | ||||
| 
 | ||||
| #include "asm/arch/statfs.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_TERMBITS_H | ||||
| #define __UM_TERMBITS_H | ||||
| 
 | ||||
| #include "asm/arch/termbits.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_TERMIOS_H | ||||
| #define __UM_TERMIOS_H | ||||
| 
 | ||||
| #include "asm/arch/termios.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_TYPES_H | ||||
| #define __UM_TYPES_H | ||||
| 
 | ||||
| #include "asm/arch/types.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef _ASM_UM_UCONTEXT_H | ||||
| #define _ASM_UM_UCONTEXT_H | ||||
| 
 | ||||
| #include "asm/arch/ucontext.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef _ASM_UM_UNALIGNED_H | ||||
| #define _ASM_UM_UNALIGNED_H | ||||
| 
 | ||||
| #include "asm/arch/unaligned.h" | ||||
| 
 | ||||
| #endif /* _ASM_UM_UNALIGNED_H */ | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_USER_H | ||||
| #define __UM_USER_H | ||||
| 
 | ||||
| #include "asm/arch/user.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_VGA_H | ||||
| #define __UM_VGA_H | ||||
| 
 | ||||
| #include "asm/arch/vga.h" | ||||
| 
 | ||||
| #endif | ||||
|  | @ -1,6 +0,0 @@ | |||
| #ifndef __UM_VM86_H | ||||
| #define __UM_VM86_H | ||||
| 
 | ||||
| #include "asm/arch/vm86.h" | ||||
| 
 | ||||
| #endif | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Al Viro
				Al Viro