aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-03 16:45:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-03 16:45:43 -0400
commit9b2e077c42a97fcbdc0dd71edb1fc9d15c74ad29 (patch)
tree20bf301d21f6c3776046acada5070630009ceedb /include
parenta54dfb1a845c38a97686268d8c4086a63d9493aa (diff)
parent10b63956fce7f369cc37fd4d994f09bd5203efe4 (diff)
Merge tag 'uapi-prep-20121002' of git://git.infradead.org/users/dhowells/linux-headers
Pull preparatory patches for user API disintegration from David Howells: "The patches herein prepare for the extraction of the Userspace API bits from the various header files named in the Kbuild files. New subdirectories are created under either include/uapi/ or arch/x/include/uapi/ that correspond to the subdirectory containing that file under include/ or arch/x/include/. The new subdirs under the uapi/ directory are populated with Kbuild files that mostly do nothing at this time. Further patches will disintegrate the headers in each original directory and fill in the Kbuild files as they do it. These patches also: (1) fix up #inclusions of "foo.h" rather than <foo.h>. (2) Remove some redundant #includes from the DRM code. (3) Make the kernel build infrastructure handle Kbuild files both in the old places and the new UAPI place that both specify headers to be exported. (4) Fix some kernel tools that #include kernel headers during their build. I have compile tested this with allyesconfig against x86_64, allmodconfig against i386 and a scattering of additional defconfigs of other arches. Prepared for main script Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com> Acked-by: H. Peter Anvin <hpa@zytor.com>" * tag 'uapi-prep-20121002' of git://git.infradead.org/users/dhowells/linux-headers: UAPI: Plumb the UAPI Kbuilds into the user header installation and checking UAPI: x86: Differentiate the generated UAPI and internal headers UAPI: Remove the objhdr-y export list UAPI: Move linux/version.h UAPI: Set up uapi/asm/Kbuild.asm UAPI: x86: Fix insn_sanity build failure after UAPI split UAPI: x86: Fix the test_get_len tool UAPI: (Scripted) Set up UAPI Kbuild files UAPI: Partition the header include path sets and add uapi/ header directories UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ UAPI: (Scripted) Remove redundant DRM UAPI header #inclusions from drivers/gpu/. UAPI: Refer to the DRM UAPI headers with <...> and from certain headers only
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi.h18
-rw-r--r--include/acpi/acpiosxf.h4
-rw-r--r--include/acpi/acpixf.h6
-rw-r--r--include/acpi/platform/acenv.h2
-rw-r--r--include/acpi/platform/aclinux.h2
-rw-r--r--include/asm-generic/Kbuild.asm46
-rw-r--r--include/drm/drm.h2
-rw-r--r--include/drm/drmP.h17
-rw-r--r--include/drm/drm_buffer.h2
-rw-r--r--include/drm/drm_crtc.h1
-rw-r--r--include/drm/drm_encoder_slave.h4
-rw-r--r--include/drm/drm_memory.h2
-rw-r--r--include/drm/drm_sarea.h2
-rw-r--r--include/drm/exynos_drm.h2
-rw-r--r--include/drm/i915_drm.h2
-rw-r--r--include/drm/mga_drm.h2
-rw-r--r--include/drm/radeon_drm.h2
-rw-r--r--include/drm/ttm/ttm_bo_api.h2
-rw-r--r--include/drm/ttm/ttm_bo_driver.h16
-rw-r--r--include/drm/ttm/ttm_execbuf_util.h2
-rw-r--r--include/drm/ttm/ttm_lock.h2
-rw-r--r--include/drm/ttm/ttm_object.h2
-rw-r--r--include/drm/ttm/ttm_page_alloc.h4
-rw-r--r--include/drm/via_drm.h2
-rw-r--r--include/linux/Kbuild2
-rw-r--r--include/linux/bcma/bcma.h2
-rw-r--r--include/linux/ceph/ceph_fs.h4
-rw-r--r--include/linux/ceph/debugfs.h4
-rw-r--r--include/linux/ceph/decode.h2
-rw-r--r--include/linux/ceph/libceph.h14
-rw-r--r--include/linux/ceph/mdsmap.h2
-rw-r--r--include/linux/ceph/messenger.h4
-rw-r--r--include/linux/ceph/mon_client.h2
-rw-r--r--include/linux/ceph/msgpool.h2
-rw-r--r--include/linux/ceph/osdmap.h4
-rw-r--r--include/linux/ceph/rados.h2
-rw-r--r--include/linux/ceph/types.h6
-rw-r--r--include/linux/crush/mapper.h2
-rw-r--r--include/linux/drbd_tag_magic.h8
-rw-r--r--include/linux/libfdt.h4
-rw-r--r--include/linux/netfilter/nf_conntrack_h323_asn1.h2
-rw-r--r--include/linux/pinctrl/consumer.h2
-rw-r--r--include/linux/pinctrl/machine.h2
-rw-r--r--include/linux/pinctrl/pinctrl.h2
-rw-r--r--include/linux/pinctrl/pinmux.h2
-rw-r--r--include/scsi/osd_attributes.h2
-rw-r--r--include/scsi/osd_initiator.h4
-rw-r--r--include/scsi/osd_sec.h4
-rw-r--r--include/sound/ac97_codec.h6
-rw-r--r--include/sound/ad1816a.h6
-rw-r--r--include/sound/ak4531_codec.h4
-rw-r--r--include/sound/emu10k1_synth.h4
-rw-r--r--include/sound/emu8000.h4
-rw-r--r--include/sound/emux_legacy.h2
-rw-r--r--include/sound/emux_synth.h14
-rw-r--r--include/sound/es1688.h4
-rw-r--r--include/sound/gus.h10
-rw-r--r--include/sound/mpu401.h2
-rw-r--r--include/sound/pcm.h2
-rw-r--r--include/sound/rawmidi.h2
-rw-r--r--include/sound/sb.h4
-rw-r--r--include/sound/sb16_csp.h4
-rw-r--r--include/sound/seq_kernel.h2
-rw-r--r--include/sound/seq_midi_emul.h2
-rw-r--r--include/sound/seq_midi_event.h2
-rw-r--r--include/sound/seq_oss.h4
-rw-r--r--include/sound/seq_virmidi.h4
-rw-r--r--include/sound/snd_wavefront.h8
-rw-r--r--include/sound/soundfont.h4
-rw-r--r--include/sound/tea6330t.h2
-rw-r--r--include/sound/wss.h8
-rw-r--r--include/trace/events/compaction.h2
-rw-r--r--include/trace/events/kmem.h2
-rw-r--r--include/trace/events/vmscan.h2
-rw-r--r--include/uapi/Kbuild14
-rw-r--r--include/uapi/asm-generic/Kbuild1
-rw-r--r--include/uapi/asm-generic/Kbuild.asm49
-rw-r--r--include/uapi/drm/Kbuild1
-rw-r--r--include/uapi/linux/Kbuild24
-rw-r--r--include/uapi/linux/byteorder/Kbuild1
-rw-r--r--include/uapi/linux/caif/Kbuild1
-rw-r--r--include/uapi/linux/can/Kbuild1
-rw-r--r--include/uapi/linux/dvb/Kbuild1
-rw-r--r--include/uapi/linux/hdlc/Kbuild1
-rw-r--r--include/uapi/linux/hsi/Kbuild1
-rw-r--r--include/uapi/linux/isdn/Kbuild1
-rw-r--r--include/uapi/linux/mmc/Kbuild1
-rw-r--r--include/uapi/linux/netfilter/Kbuild2
-rw-r--r--include/uapi/linux/netfilter/ipset/Kbuild1
-rw-r--r--include/uapi/linux/netfilter_arp/Kbuild1
-rw-r--r--include/uapi/linux/netfilter_bridge/Kbuild1
-rw-r--r--include/uapi/linux/netfilter_ipv4/Kbuild1
-rw-r--r--include/uapi/linux/netfilter_ipv6/Kbuild1
-rw-r--r--include/uapi/linux/nfsd/Kbuild1
-rw-r--r--include/uapi/linux/raid/Kbuild1
-rw-r--r--include/uapi/linux/spi/Kbuild1
-rw-r--r--include/uapi/linux/sunrpc/Kbuild1
-rw-r--r--include/uapi/linux/tc_act/Kbuild1
-rw-r--r--include/uapi/linux/tc_ematch/Kbuild1
-rw-r--r--include/uapi/linux/usb/Kbuild1
-rw-r--r--include/uapi/linux/wimax/Kbuild1
-rw-r--r--include/uapi/mtd/Kbuild1
-rw-r--r--include/uapi/rdma/Kbuild1
-rw-r--r--include/uapi/scsi/Kbuild2
-rw-r--r--include/uapi/scsi/fc/Kbuild1
-rw-r--r--include/uapi/sound/Kbuild1
-rw-r--r--include/uapi/video/Kbuild1
-rw-r--r--include/uapi/xen/Kbuild1
-rw-r--r--include/xen/interface/callback.h2
-rw-r--r--include/xen/interface/hvm/params.h2
-rw-r--r--include/xen/interface/io/blkif.h4
-rw-r--r--include/xen/interface/io/netif.h4
-rw-r--r--include/xen/interface/platform.h2
-rw-r--r--include/xen/interface/sched.h2
-rw-r--r--include/xen/interface/version.h2
115 files changed, 277 insertions, 201 deletions
diff --git a/include/acpi/acpi.h b/include/acpi/acpi.h
index c433d5e27679..c1ea8436961f 100644
--- a/include/acpi/acpi.h
+++ b/include/acpi/acpi.h
@@ -53,14 +53,14 @@
53 * 53 *
54 * Note: The order of these include files is important. 54 * Note: The order of these include files is important.
55 */ 55 */
56#include "platform/acenv.h" /* Environment-specific items */ 56#include <acpi/platform/acenv.h> /* Environment-specific items */
57#include "acnames.h" /* Common ACPI names and strings */ 57#include <acpi/acnames.h> /* Common ACPI names and strings */
58#include "actypes.h" /* ACPICA data types and structures */ 58#include <acpi/actypes.h> /* ACPICA data types and structures */
59#include "acexcep.h" /* ACPICA exceptions */ 59#include <acpi/acexcep.h> /* ACPICA exceptions */
60#include "actbl.h" /* ACPI table definitions */ 60#include <acpi/actbl.h> /* ACPI table definitions */
61#include "acoutput.h" /* Error output and Debug macros */ 61#include <acpi/acoutput.h> /* Error output and Debug macros */
62#include "acrestyp.h" /* Resource Descriptor structs */ 62#include <acpi/acrestyp.h> /* Resource Descriptor structs */
63#include "acpiosxf.h" /* OSL interfaces (ACPICA-to-OS) */ 63#include <acpi/acpiosxf.h> /* OSL interfaces (ACPICA-to-OS) */
64#include "acpixf.h" /* ACPI core subsystem external interfaces */ 64#include <acpi/acpixf.h> /* ACPI core subsystem external interfaces */
65 65
66#endif /* __ACPI_H__ */ 66#endif /* __ACPI_H__ */
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h
index 0650f5fa7ce9..1222ba93d80a 100644
--- a/include/acpi/acpiosxf.h
+++ b/include/acpi/acpiosxf.h
@@ -47,8 +47,8 @@
47#ifndef __ACPIOSXF_H__ 47#ifndef __ACPIOSXF_H__
48#define __ACPIOSXF_H__ 48#define __ACPIOSXF_H__
49 49
50#include "platform/acenv.h" 50#include <acpi/platform/acenv.h>
51#include "actypes.h" 51#include <acpi/actypes.h>
52 52
53/* Types for acpi_os_execute */ 53/* Types for acpi_os_execute */
54 54
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 26a92fc28a59..51405d32ac64 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -49,9 +49,9 @@
49 49
50#define ACPI_CA_VERSION 0x20120711 50#define ACPI_CA_VERSION 0x20120711
51 51
52#include "acconfig.h" 52#include <acpi/acconfig.h>
53#include "actypes.h" 53#include <acpi/actypes.h>
54#include "actbl.h" 54#include <acpi/actbl.h>
55 55
56extern u8 acpi_gbl_permanent_mmap; 56extern u8 acpi_gbl_permanent_mmap;
57 57
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index 560a9f272f34..89cee88dd2a5 100644
--- a/include/acpi/platform/acenv.h
+++ b/include/acpi/platform/acenv.h
@@ -138,7 +138,7 @@
138/*! [Begin] no source code translation */ 138/*! [Begin] no source code translation */
139 139
140#if defined(_LINUX) || defined(__linux__) 140#if defined(_LINUX) || defined(__linux__)
141#include "aclinux.h" 141#include <acpi/platform/aclinux.h>
142 142
143#elif defined(_AED_EFI) 143#elif defined(_AED_EFI)
144#include "acefi.h" 144#include "acefi.h"
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 7509be30ca01..85d5d8f38452 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -106,7 +106,7 @@
106 106
107/* Linux uses GCC */ 107/* Linux uses GCC */
108 108
109#include "acgcc.h" 109#include <acpi/platform/acgcc.h>
110 110
111 111
112#ifdef __KERNEL__ 112#ifdef __KERNEL__
diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
index c5d2e5dd871b..d2ee86b4c091 100644
--- a/include/asm-generic/Kbuild.asm
+++ b/include/asm-generic/Kbuild.asm
@@ -1,45 +1 @@
1ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \ include include/uapi/asm-generic/Kbuild.asm
2 $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
3header-y += kvm.h
4endif
5
6ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \
7 $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),)
8header-y += kvm_para.h
9endif
10
11ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \
12 $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
13header-y += a.out.h
14endif
15
16header-y += auxvec.h
17header-y += bitsperlong.h
18header-y += byteorder.h
19header-y += errno.h
20header-y += fcntl.h
21header-y += ioctl.h
22header-y += ioctls.h
23header-y += ipcbuf.h
24header-y += mman.h
25header-y += msgbuf.h
26header-y += param.h
27header-y += poll.h
28header-y += posix_types.h
29header-y += ptrace.h
30header-y += resource.h
31header-y += sembuf.h
32header-y += setup.h
33header-y += shmbuf.h
34header-y += sigcontext.h
35header-y += siginfo.h
36header-y += signal.h
37header-y += socket.h
38header-y += sockios.h
39header-y += stat.h
40header-y += statfs.h
41header-y += swab.h
42header-y += termbits.h
43header-y += termios.h
44header-y += types.h
45header-y += unistd.h
diff --git a/include/drm/drm.h b/include/drm/drm.h
index e51035a3757f..1e3481edf062 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -628,7 +628,7 @@ struct drm_prime_handle {
628 __s32 fd; 628 __s32 fd;
629}; 629};
630 630
631#include "drm_mode.h" 631#include <drm/drm_mode.h>
632 632
633#define DRM_IOCTL_BASE 'd' 633#define DRM_IOCTL_BASE 'd'
634#define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr) 634#define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 9bc5c6a1d52c..54054e41ec38 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -72,7 +72,8 @@
72#include <linux/workqueue.h> 72#include <linux/workqueue.h>
73#include <linux/poll.h> 73#include <linux/poll.h>
74#include <asm/pgalloc.h> 74#include <asm/pgalloc.h>
75#include "drm.h" 75#include <drm/drm.h>
76#include <drm/drm_sarea.h>
76 77
77#include <linux/idr.h> 78#include <linux/idr.h>
78 79
@@ -84,9 +85,9 @@ struct module;
84struct drm_file; 85struct drm_file;
85struct drm_device; 86struct drm_device;
86 87
87#include "drm_os_linux.h" 88#include <drm/drm_os_linux.h>
88#include "drm_hashtab.h" 89#include <drm/drm_hashtab.h>
89#include "drm_mm.h" 90#include <drm/drm_mm.h>
90 91
91#define DRM_UT_CORE 0x01 92#define DRM_UT_CORE 0x01
92#define DRM_UT_DRIVER 0x02 93#define DRM_UT_DRIVER 0x02
@@ -675,7 +676,7 @@ struct drm_gem_object {
675 struct dma_buf_attachment *import_attach; 676 struct dma_buf_attachment *import_attach;
676}; 677};
677 678
678#include "drm_crtc.h" 679#include <drm/drm_crtc.h>
679 680
680/* per-master structure */ 681/* per-master structure */
681struct drm_master { 682struct drm_master {
@@ -1303,7 +1304,7 @@ extern void drm_vm_close_locked(struct drm_device *dev, struct vm_area_struct *v
1303extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); 1304extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
1304 1305
1305 /* Memory management support (drm_memory.h) */ 1306 /* Memory management support (drm_memory.h) */
1306#include "drm_memory.h" 1307#include <drm/drm_memory.h>
1307extern void drm_free_agp(DRM_AGP_MEM * handle, int pages); 1308extern void drm_free_agp(DRM_AGP_MEM * handle, int pages);
1308extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); 1309extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start);
1309extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev, 1310extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev,
@@ -1612,7 +1613,7 @@ void drm_gem_vm_open(struct vm_area_struct *vma);
1612void drm_gem_vm_close(struct vm_area_struct *vma); 1613void drm_gem_vm_close(struct vm_area_struct *vma);
1613int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma); 1614int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
1614 1615
1615#include "drm_global.h" 1616#include <drm/drm_global.h>
1616 1617
1617static inline void 1618static inline void
1618drm_gem_object_reference(struct drm_gem_object *obj) 1619drm_gem_object_reference(struct drm_gem_object *obj)
@@ -1721,7 +1722,7 @@ static __inline__ void drm_core_dropmap(struct drm_local_map *map)
1721{ 1722{
1722} 1723}
1723 1724
1724#include "drm_mem_util.h" 1725#include <drm/drm_mem_util.h>
1725 1726
1726extern int drm_fill_in_dev(struct drm_device *dev, 1727extern int drm_fill_in_dev(struct drm_device *dev,
1727 const struct pci_device_id *ent, 1728 const struct pci_device_id *ent,
diff --git a/include/drm/drm_buffer.h b/include/drm/drm_buffer.h
index 322dbff3f861..c80d3a340b94 100644
--- a/include/drm/drm_buffer.h
+++ b/include/drm/drm_buffer.h
@@ -35,7 +35,7 @@
35#ifndef _DRM_BUFFER_H_ 35#ifndef _DRM_BUFFER_H_
36#define _DRM_BUFFER_H_ 36#define _DRM_BUFFER_H_
37 37
38#include "drmP.h" 38#include <drm/drmP.h>
39 39
40struct drm_buffer { 40struct drm_buffer {
41 int iterator; 41 int iterator;
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index bfacf0d5a225..86a0da4635a6 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -30,6 +30,7 @@
30#include <linux/types.h> 30#include <linux/types.h>
31#include <linux/idr.h> 31#include <linux/idr.h>
32#include <linux/fb.h> 32#include <linux/fb.h>
33#include <drm/drm_mode.h>
33 34
34#include <drm/drm_fourcc.h> 35#include <drm/drm_fourcc.h>
35 36
diff --git a/include/drm/drm_encoder_slave.h b/include/drm/drm_encoder_slave.h
index 7dc385233805..b0c11a7809bb 100644
--- a/include/drm/drm_encoder_slave.h
+++ b/include/drm/drm_encoder_slave.h
@@ -27,8 +27,8 @@
27#ifndef __DRM_ENCODER_SLAVE_H__ 27#ifndef __DRM_ENCODER_SLAVE_H__
28#define __DRM_ENCODER_SLAVE_H__ 28#define __DRM_ENCODER_SLAVE_H__
29 29
30#include "drmP.h" 30#include <drm/drmP.h>
31#include "drm_crtc.h" 31#include <drm/drm_crtc.h>
32 32
33/** 33/**
34 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver 34 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver
diff --git a/include/drm/drm_memory.h b/include/drm/drm_memory.h
index 15af9b32ae42..4baf57a207e7 100644
--- a/include/drm/drm_memory.h
+++ b/include/drm/drm_memory.h
@@ -35,7 +35,7 @@
35 35
36#include <linux/highmem.h> 36#include <linux/highmem.h>
37#include <linux/vmalloc.h> 37#include <linux/vmalloc.h>
38#include "drmP.h" 38#include <drm/drmP.h>
39 39
40/** 40/**
41 * Cut down version of drm_memory_debug.h, which used to be called 41 * Cut down version of drm_memory_debug.h, which used to be called
diff --git a/include/drm/drm_sarea.h b/include/drm/drm_sarea.h
index ee5389d22c64..d3aedc90b9fd 100644
--- a/include/drm/drm_sarea.h
+++ b/include/drm/drm_sarea.h
@@ -32,7 +32,7 @@
32#ifndef _DRM_SAREA_H_ 32#ifndef _DRM_SAREA_H_
33#define _DRM_SAREA_H_ 33#define _DRM_SAREA_H_
34 34
35#include "drm.h" 35#include <drm/drm.h>
36 36
37/* SAREA area needs to be at least a page */ 37/* SAREA area needs to be at least a page */
38#if defined(__alpha__) 38#if defined(__alpha__)
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index c20b00181530..1f2acdfbfd6d 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -29,7 +29,7 @@
29#ifndef _EXYNOS_DRM_H_ 29#ifndef _EXYNOS_DRM_H_
30#define _EXYNOS_DRM_H_ 30#define _EXYNOS_DRM_H_
31 31
32#include "drm.h" 32#include <drm/drm.h>
33 33
34/** 34/**
35 * User-desired buffer creation information structure. 35 * User-desired buffer creation information structure.
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 8cc70837f929..814a42c89422 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -27,7 +27,7 @@
27#ifndef _I915_DRM_H_ 27#ifndef _I915_DRM_H_
28#define _I915_DRM_H_ 28#define _I915_DRM_H_
29 29
30#include "drm.h" 30#include <drm/drm.h>
31 31
32/* Please note that modifications to all structs defined here are 32/* Please note that modifications to all structs defined here are
33 * subject to backwards-compatibility constraints. 33 * subject to backwards-compatibility constraints.
diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h
index fca817009e13..2375bfd6e5e9 100644
--- a/include/drm/mga_drm.h
+++ b/include/drm/mga_drm.h
@@ -35,7 +35,7 @@
35#ifndef __MGA_DRM_H__ 35#ifndef __MGA_DRM_H__
36#define __MGA_DRM_H__ 36#define __MGA_DRM_H__
37 37
38#include "drm.h" 38#include <drm/drm.h>
39 39
40/* WARNING: If you change any of these defines, make sure to change the 40/* WARNING: If you change any of these defines, make sure to change the
41 * defines in the Xserver file (mga_sarea.h) 41 * defines in the Xserver file (mga_sarea.h)
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h
index dc3a8cd7db8a..4766c0f6a838 100644
--- a/include/drm/radeon_drm.h
+++ b/include/drm/radeon_drm.h
@@ -33,7 +33,7 @@
33#ifndef __RADEON_DRM_H__ 33#ifndef __RADEON_DRM_H__
34#define __RADEON_DRM_H__ 34#define __RADEON_DRM_H__
35 35
36#include "drm.h" 36#include <drm/drm.h>
37 37
38/* WARNING: If you change any of these defines, make sure to change the 38/* WARNING: If you change any of these defines, make sure to change the
39 * defines in the X server file (radeon_sarea.h) 39 * defines in the X server file (radeon_sarea.h)
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
index e15f2a89a270..e8028ade567f 100644
--- a/include/drm/ttm/ttm_bo_api.h
+++ b/include/drm/ttm/ttm_bo_api.h
@@ -31,7 +31,7 @@
31#ifndef _TTM_BO_API_H_ 31#ifndef _TTM_BO_API_H_
32#define _TTM_BO_API_H_ 32#define _TTM_BO_API_H_
33 33
34#include "drm_hashtab.h" 34#include <drm/drm_hashtab.h>
35#include <linux/kref.h> 35#include <linux/kref.h>
36#include <linux/list.h> 36#include <linux/list.h>
37#include <linux/wait.h> 37#include <linux/wait.h>
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 084e8989a6e1..d803b92b0324 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -30,14 +30,14 @@
30#ifndef _TTM_BO_DRIVER_H_ 30#ifndef _TTM_BO_DRIVER_H_
31#define _TTM_BO_DRIVER_H_ 31#define _TTM_BO_DRIVER_H_
32 32
33#include "ttm/ttm_bo_api.h" 33#include <ttm/ttm_bo_api.h>
34#include "ttm/ttm_memory.h" 34#include <ttm/ttm_memory.h>
35#include "ttm/ttm_module.h" 35#include <ttm/ttm_module.h>
36#include "drm_mm.h" 36#include <drm/drm_mm.h>
37#include "drm_global.h" 37#include <drm/drm_global.h>
38#include "linux/workqueue.h" 38#include <linux/workqueue.h>
39#include "linux/fs.h" 39#include <linux/fs.h>
40#include "linux/spinlock.h" 40#include <linux/spinlock.h>
41 41
42struct ttm_backend_func { 42struct ttm_backend_func {
43 /** 43 /**
diff --git a/include/drm/ttm/ttm_execbuf_util.h b/include/drm/ttm/ttm_execbuf_util.h
index 26cc7f9ffa41..1926cae373ba 100644
--- a/include/drm/ttm/ttm_execbuf_util.h
+++ b/include/drm/ttm/ttm_execbuf_util.h
@@ -31,7 +31,7 @@
31#ifndef _TTM_EXECBUF_UTIL_H_ 31#ifndef _TTM_EXECBUF_UTIL_H_
32#define _TTM_EXECBUF_UTIL_H_ 32#define _TTM_EXECBUF_UTIL_H_
33 33
34#include "ttm/ttm_bo_api.h" 34#include <ttm/ttm_bo_api.h>
35#include <linux/list.h> 35#include <linux/list.h>
36 36
37/** 37/**
diff --git a/include/drm/ttm/ttm_lock.h b/include/drm/ttm/ttm_lock.h
index 2e7f0c941b5d..2902beb5f689 100644
--- a/include/drm/ttm/ttm_lock.h
+++ b/include/drm/ttm/ttm_lock.h
@@ -49,7 +49,7 @@
49#ifndef _TTM_LOCK_H_ 49#ifndef _TTM_LOCK_H_
50#define _TTM_LOCK_H_ 50#define _TTM_LOCK_H_
51 51
52#include "ttm/ttm_object.h" 52#include <ttm/ttm_object.h>
53#include <linux/wait.h> 53#include <linux/wait.h>
54#include <linux/atomic.h> 54#include <linux/atomic.h>
55 55
diff --git a/include/drm/ttm/ttm_object.h b/include/drm/ttm/ttm_object.h
index e46054e5255b..b01c563b2751 100644
--- a/include/drm/ttm/ttm_object.h
+++ b/include/drm/ttm/ttm_object.h
@@ -38,7 +38,7 @@
38#define _TTM_OBJECT_H_ 38#define _TTM_OBJECT_H_
39 39
40#include <linux/list.h> 40#include <linux/list.h>
41#include "drm_hashtab.h" 41#include <drm/drm_hashtab.h>
42#include <linux/kref.h> 42#include <linux/kref.h>
43#include <ttm/ttm_memory.h> 43#include <ttm/ttm_memory.h>
44 44
diff --git a/include/drm/ttm/ttm_page_alloc.h b/include/drm/ttm/ttm_page_alloc.h
index 5fe27400d176..706b962c6467 100644
--- a/include/drm/ttm/ttm_page_alloc.h
+++ b/include/drm/ttm/ttm_page_alloc.h
@@ -26,8 +26,8 @@
26#ifndef TTM_PAGE_ALLOC 26#ifndef TTM_PAGE_ALLOC
27#define TTM_PAGE_ALLOC 27#define TTM_PAGE_ALLOC
28 28
29#include "ttm_bo_driver.h" 29#include <drm/ttm/ttm_bo_driver.h>
30#include "ttm_memory.h" 30#include <drm/ttm/ttm_memory.h>
31 31
32/** 32/**
33 * Initialize pool allocator. 33 * Initialize pool allocator.
diff --git a/include/drm/via_drm.h b/include/drm/via_drm.h
index 79b3b6e0f6b3..8b0533ccbd5a 100644
--- a/include/drm/via_drm.h
+++ b/include/drm/via_drm.h
@@ -24,7 +24,7 @@
24#ifndef _VIA_DRM_H_ 24#ifndef _VIA_DRM_H_
25#define _VIA_DRM_H_ 25#define _VIA_DRM_H_
26 26
27#include "drm.h" 27#include <drm/drm.h>
28 28
29/* WARNING: These defines must be the same as what the Xserver uses. 29/* WARNING: These defines must be the same as what the Xserver uses.
30 * if you change them, you must change the defines in the Xserver. 30 * if you change them, you must change the defines in the Xserver.
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 7f1c0f00db9b..e149e8be9065 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -20,8 +20,6 @@ header-y += netfilter_ipv6/
20header-y += usb/ 20header-y += usb/
21header-y += wimax/ 21header-y += wimax/
22 22
23objhdr-y += version.h
24
25ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \ 23ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \
26 $(srctree)/include/asm-$(SRCARCH)/a.out.h \ 24 $(srctree)/include/asm-$(SRCARCH)/a.out.h \
27 $(INSTALL_HDR_PATH)/include/asm-*/a.out.h),) 25 $(INSTALL_HDR_PATH)/include/asm-*/a.out.h),)
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h
index 1954a4e305a3..4180eb78d575 100644
--- a/include/linux/bcma/bcma.h
+++ b/include/linux/bcma/bcma.h
@@ -10,7 +10,7 @@
10#include <linux/bcma/bcma_driver_gmac_cmn.h> 10#include <linux/bcma/bcma_driver_gmac_cmn.h>
11#include <linux/ssb/ssb.h> /* SPROM sharing */ 11#include <linux/ssb/ssb.h> /* SPROM sharing */
12 12
13#include "bcma_regs.h" 13#include <linux/bcma/bcma_regs.h>
14 14
15struct bcma_device; 15struct bcma_device;
16struct bcma_bus; 16struct bcma_bus;
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h
index d021610efd65..cf6f4d998a76 100644
--- a/include/linux/ceph/ceph_fs.h
+++ b/include/linux/ceph/ceph_fs.h
@@ -12,8 +12,8 @@
12#ifndef CEPH_FS_H 12#ifndef CEPH_FS_H
13#define CEPH_FS_H 13#define CEPH_FS_H
14 14
15#include "msgr.h" 15#include <linux/ceph/msgr.h>
16#include "rados.h" 16#include <linux/ceph/rados.h>
17 17
18/* 18/*
19 * subprotocol versions. when specific messages types or high-level 19 * subprotocol versions. when specific messages types or high-level
diff --git a/include/linux/ceph/debugfs.h b/include/linux/ceph/debugfs.h
index 2a79702e092b..1df086d7882d 100644
--- a/include/linux/ceph/debugfs.h
+++ b/include/linux/ceph/debugfs.h
@@ -1,8 +1,8 @@
1#ifndef _FS_CEPH_DEBUGFS_H 1#ifndef _FS_CEPH_DEBUGFS_H
2#define _FS_CEPH_DEBUGFS_H 2#define _FS_CEPH_DEBUGFS_H
3 3
4#include "ceph_debug.h" 4#include <linux/ceph/ceph_debug.h>
5#include "types.h" 5#include <linux/ceph/types.h>
6 6
7#define CEPH_DEFINE_SHOW_FUNC(name) \ 7#define CEPH_DEFINE_SHOW_FUNC(name) \
8static int name##_open(struct inode *inode, struct file *file) \ 8static int name##_open(struct inode *inode, struct file *file) \
diff --git a/include/linux/ceph/decode.h b/include/linux/ceph/decode.h
index 4bbf2db45f46..63d092822bad 100644
--- a/include/linux/ceph/decode.h
+++ b/include/linux/ceph/decode.h
@@ -6,7 +6,7 @@
6#include <linux/time.h> 6#include <linux/time.h>
7#include <asm/unaligned.h> 7#include <asm/unaligned.h>
8 8
9#include "types.h" 9#include <linux/ceph/types.h>
10 10
11/* 11/*
12 * in all cases, 12 * in all cases,
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h
index 42624789b06f..6470792b13d3 100644
--- a/include/linux/ceph/libceph.h
+++ b/include/linux/ceph/libceph.h
@@ -1,7 +1,7 @@
1#ifndef _FS_CEPH_LIBCEPH_H 1#ifndef _FS_CEPH_LIBCEPH_H
2#define _FS_CEPH_LIBCEPH_H 2#define _FS_CEPH_LIBCEPH_H
3 3
4#include "ceph_debug.h" 4#include <linux/ceph/ceph_debug.h>
5 5
6#include <asm/unaligned.h> 6#include <asm/unaligned.h>
7#include <linux/backing-dev.h> 7#include <linux/backing-dev.h>
@@ -15,12 +15,12 @@
15#include <linux/writeback.h> 15#include <linux/writeback.h>
16#include <linux/slab.h> 16#include <linux/slab.h>
17 17
18#include "types.h" 18#include <linux/ceph/types.h>
19#include "messenger.h" 19#include <linux/ceph/messenger.h>
20#include "msgpool.h" 20#include <linux/ceph/msgpool.h>
21#include "mon_client.h" 21#include <linux/ceph/mon_client.h>
22#include "osd_client.h" 22#include <linux/ceph/osd_client.h>
23#include "ceph_fs.h" 23#include <linux/ceph/ceph_fs.h>
24 24
25/* 25/*
26 * mount options 26 * mount options
diff --git a/include/linux/ceph/mdsmap.h b/include/linux/ceph/mdsmap.h
index 9935fac8c107..cb15b5d867c7 100644
--- a/include/linux/ceph/mdsmap.h
+++ b/include/linux/ceph/mdsmap.h
@@ -2,7 +2,7 @@
2#define _FS_CEPH_MDSMAP_H 2#define _FS_CEPH_MDSMAP_H
3 3
4#include <linux/bug.h> 4#include <linux/bug.h>
5#include "types.h" 5#include <linux/ceph/types.h>
6 6
7/* 7/*
8 * mds map - describe servers in the mds cluster. 8 * mds map - describe servers in the mds cluster.
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index 189ae0637634..14ba5ee738a9 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -8,8 +8,8 @@
8#include <linux/uio.h> 8#include <linux/uio.h>
9#include <linux/workqueue.h> 9#include <linux/workqueue.h>
10 10
11#include "types.h" 11#include <linux/ceph/types.h>
12#include "buffer.h" 12#include <linux/ceph/buffer.h>
13 13
14struct ceph_msg; 14struct ceph_msg;
15struct ceph_connection; 15struct ceph_connection;
diff --git a/include/linux/ceph/mon_client.h b/include/linux/ceph/mon_client.h
index 2113e3850a4e..1fb93e9080b0 100644
--- a/include/linux/ceph/mon_client.h
+++ b/include/linux/ceph/mon_client.h
@@ -5,7 +5,7 @@
5#include <linux/kref.h> 5#include <linux/kref.h>
6#include <linux/rbtree.h> 6#include <linux/rbtree.h>
7 7
8#include "messenger.h" 8#include <linux/ceph/messenger.h>
9 9
10struct ceph_client; 10struct ceph_client;
11struct ceph_mount_args; 11struct ceph_mount_args;
diff --git a/include/linux/ceph/msgpool.h b/include/linux/ceph/msgpool.h
index 09fa96b43436..4b0d38960726 100644
--- a/include/linux/ceph/msgpool.h
+++ b/include/linux/ceph/msgpool.h
@@ -2,7 +2,7 @@
2#define _FS_CEPH_MSGPOOL 2#define _FS_CEPH_MSGPOOL
3 3
4#include <linux/mempool.h> 4#include <linux/mempool.h>
5#include "messenger.h" 5#include <linux/ceph/messenger.h>
6 6
7/* 7/*
8 * we use memory pools for preallocating messages we may receive, to 8 * we use memory pools for preallocating messages we may receive, to
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h
index 311ef8d6aa9e..25b930bffea6 100644
--- a/include/linux/ceph/osdmap.h
+++ b/include/linux/ceph/osdmap.h
@@ -2,8 +2,8 @@
2#define _FS_CEPH_OSDMAP_H 2#define _FS_CEPH_OSDMAP_H
3 3
4#include <linux/rbtree.h> 4#include <linux/rbtree.h>
5#include "types.h" 5#include <linux/ceph/types.h>
6#include "ceph_fs.h" 6#include <linux/ceph/ceph_fs.h>
7#include <linux/crush/crush.h> 7#include <linux/crush/crush.h>
8 8
9/* 9/*
diff --git a/include/linux/ceph/rados.h b/include/linux/ceph/rados.h
index 0a99099801a4..de91fbdf127e 100644
--- a/include/linux/ceph/rados.h
+++ b/include/linux/ceph/rados.h
@@ -6,7 +6,7 @@
6 * (Reliable Autonomic Distributed Object Store). 6 * (Reliable Autonomic Distributed Object Store).
7 */ 7 */
8 8
9#include "msgr.h" 9#include <linux/ceph/msgr.h>
10 10
11/* 11/*
12 * osdmap encoding versions 12 * osdmap encoding versions
diff --git a/include/linux/ceph/types.h b/include/linux/ceph/types.h
index 28b35a005ec2..d3ff1cf2d27e 100644
--- a/include/linux/ceph/types.h
+++ b/include/linux/ceph/types.h
@@ -7,9 +7,9 @@
7#include <linux/fcntl.h> 7#include <linux/fcntl.h>
8#include <linux/string.h> 8#include <linux/string.h>
9 9
10#include "ceph_fs.h" 10#include <linux/ceph/ceph_fs.h>
11#include "ceph_frag.h" 11#include <linux/ceph/ceph_frag.h>
12#include "ceph_hash.h" 12#include <linux/ceph/ceph_hash.h>
13 13
14/* 14/*
15 * Identify inodes by both their ino AND snapshot id (a u64). 15 * Identify inodes by both their ino AND snapshot id (a u64).
diff --git a/include/linux/crush/mapper.h b/include/linux/crush/mapper.h
index 71d79f44a7d0..5772dee3ecbf 100644
--- a/include/linux/crush/mapper.h
+++ b/include/linux/crush/mapper.h
@@ -8,7 +8,7 @@
8 * LGPL2 8 * LGPL2
9 */ 9 */
10 10
11#include "crush.h" 11#include <linux/crush/crush.h>
12 12
13extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size); 13extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size);
14extern int crush_do_rule(const struct crush_map *map, 14extern int crush_do_rule(const struct crush_map *map,
diff --git a/include/linux/drbd_tag_magic.h b/include/linux/drbd_tag_magic.h
index 81f52f2c5724..82de1f9e48b1 100644
--- a/include/linux/drbd_tag_magic.h
+++ b/include/linux/drbd_tag_magic.h
@@ -12,7 +12,7 @@ enum packet_types {
12#define NL_INT64(pn, pr, member) 12#define NL_INT64(pn, pr, member)
13#define NL_BIT(pn, pr, member) 13#define NL_BIT(pn, pr, member)
14#define NL_STRING(pn, pr, member, len) 14#define NL_STRING(pn, pr, member, len)
15#include "drbd_nl.h" 15#include <linux/drbd_nl.h>
16 P_nl_after_last_packet, 16 P_nl_after_last_packet,
17}; 17};
18 18
@@ -37,7 +37,7 @@ static const int tag_list_sizes[] = {
37#define NL_INT64(pn, pr, member) + 4 + 8 37#define NL_INT64(pn, pr, member) + 4 + 8
38#define NL_BIT(pn, pr, member) + 4 + 1 38#define NL_BIT(pn, pr, member) + 4 + 1
39#define NL_STRING(pn, pr, member, len) + 4 + (len) 39#define NL_STRING(pn, pr, member, len) + 4 + (len)
40#include "drbd_nl.h" 40#include <linux/drbd_nl.h>
41}; 41};
42 42
43/* The two highest bits are used for the tag type */ 43/* The two highest bits are used for the tag type */
@@ -62,7 +62,7 @@ enum drbd_tags {
62#define NL_INT64(pn, pr, member) T_ ## member = pn | TT_INT64 | pr , 62#define NL_INT64(pn, pr, member) T_ ## member = pn | TT_INT64 | pr ,
63#define NL_BIT(pn, pr, member) T_ ## member = pn | TT_BIT | pr , 63#define NL_BIT(pn, pr, member) T_ ## member = pn | TT_BIT | pr ,
64#define NL_STRING(pn, pr, member, len) T_ ## member = pn | TT_STRING | pr , 64#define NL_STRING(pn, pr, member, len) T_ ## member = pn | TT_STRING | pr ,
65#include "drbd_nl.h" 65#include <linux/drbd_nl.h>
66}; 66};
67 67
68struct tag { 68struct tag {
@@ -78,7 +78,7 @@ static const struct tag tag_descriptions[] = {
78#define NL_INT64(pn, pr, member) [ pn ] = { #member, TT_INT64 | pr, sizeof(__u64) }, 78#define NL_INT64(pn, pr, member) [ pn ] = { #member, TT_INT64 | pr, sizeof(__u64) },
79#define NL_BIT(pn, pr, member) [ pn ] = { #member, TT_BIT | pr, sizeof(int) }, 79#define NL_BIT(pn, pr, member) [ pn ] = { #member, TT_BIT | pr, sizeof(int) },
80#define NL_STRING(pn, pr, member, len) [ pn ] = { #member, TT_STRING | pr, (len) }, 80#define NL_STRING(pn, pr, member, len) [ pn ] = { #member, TT_STRING | pr, (len) },
81#include "drbd_nl.h" 81#include <linux/drbd_nl.h>
82}; 82};
83 83
84#endif 84#endif
diff --git a/include/linux/libfdt.h b/include/linux/libfdt.h
index 4c0306c69b4e..a0c3bf6c9edb 100644
--- a/include/linux/libfdt.h
+++ b/include/linux/libfdt.h
@@ -2,7 +2,7 @@
2#define _INCLUDE_LIBFDT_H_ 2#define _INCLUDE_LIBFDT_H_
3 3
4#include <linux/libfdt_env.h> 4#include <linux/libfdt_env.h>
5#include "../../scripts/dtc/libfdt/fdt.h" 5#include <>
6#include "../../scripts/dtc/libfdt/libfdt.h" 6#include <>
7 7
8#endif /* _INCLUDE_LIBFDT_H_ */ 8#endif /* _INCLUDE_LIBFDT_H_ */
diff --git a/include/linux/netfilter/nf_conntrack_h323_asn1.h b/include/linux/netfilter/nf_conntrack_h323_asn1.h
index 8dab5968fc7e..3176a277eed1 100644
--- a/include/linux/netfilter/nf_conntrack_h323_asn1.h
+++ b/include/linux/netfilter/nf_conntrack_h323_asn1.h
@@ -40,7 +40,7 @@
40/***************************************************************************** 40/*****************************************************************************
41 * H.323 Types 41 * H.323 Types
42 ****************************************************************************/ 42 ****************************************************************************/
43#include "nf_conntrack_h323_types.h" 43#include <linux/netfilter/nf_conntrack_h323_types.h>
44 44
45typedef struct { 45typedef struct {
46 enum { 46 enum {
diff --git a/include/linux/pinctrl/consumer.h b/include/linux/pinctrl/consumer.h
index d2816454c263..4aad3cea69ae 100644
--- a/include/linux/pinctrl/consumer.h
+++ b/include/linux/pinctrl/consumer.h
@@ -15,7 +15,7 @@
15#include <linux/err.h> 15#include <linux/err.h>
16#include <linux/list.h> 16#include <linux/list.h>
17#include <linux/seq_file.h> 17#include <linux/seq_file.h>
18#include "pinctrl-state.h" 18#include <linux/pinctrl/pinctrl-state.h>
19 19
20/* This struct is private to the core and should be regarded as a cookie */ 20/* This struct is private to the core and should be regarded as a cookie */
21struct pinctrl; 21struct pinctrl;
diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
index 7d22ab00343f..e5b1716f98cc 100644
--- a/include/linux/pinctrl/machine.h
+++ b/include/linux/pinctrl/machine.h
@@ -14,7 +14,7 @@
14 14
15#include <linux/bug.h> 15#include <linux/bug.h>
16 16
17#include "pinctrl-state.h" 17#include <linux/pinctrl/pinctrl-state.h>
18 18
19enum pinctrl_map_type { 19enum pinctrl_map_type {
20 PIN_MAP_TYPE_INVALID, 20 PIN_MAP_TYPE_INVALID,
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h
index 69393a662532..7d087f03e91e 100644
--- a/include/linux/pinctrl/pinctrl.h
+++ b/include/linux/pinctrl/pinctrl.h
@@ -17,7 +17,7 @@
17#include <linux/radix-tree.h> 17#include <linux/radix-tree.h>
18#include <linux/list.h> 18#include <linux/list.h>
19#include <linux/seq_file.h> 19#include <linux/seq_file.h>
20#include "pinctrl-state.h" 20#include <linux/pinctrl/pinctrl-state.h>
21 21
22struct device; 22struct device;
23struct pinctrl_dev; 23struct pinctrl_dev;
diff --git a/include/linux/pinctrl/pinmux.h b/include/linux/pinctrl/pinmux.h
index 1818dcbdd9ab..c15395031cb3 100644
--- a/include/linux/pinctrl/pinmux.h
+++ b/include/linux/pinctrl/pinmux.h
@@ -14,7 +14,7 @@
14 14
15#include <linux/list.h> 15#include <linux/list.h>
16#include <linux/seq_file.h> 16#include <linux/seq_file.h>
17#include "pinctrl.h" 17#include <linux/pinctrl/pinctrl.h>
18 18
19#ifdef CONFIG_PINMUX 19#ifdef CONFIG_PINMUX
20 20
diff --git a/include/scsi/osd_attributes.h b/include/scsi/osd_attributes.h
index 56e920ade326..303ba1118a4d 100644
--- a/include/scsi/osd_attributes.h
+++ b/include/scsi/osd_attributes.h
@@ -1,7 +1,7 @@
1#ifndef __OSD_ATTRIBUTES_H__ 1#ifndef __OSD_ATTRIBUTES_H__
2#define __OSD_ATTRIBUTES_H__ 2#define __OSD_ATTRIBUTES_H__
3 3
4#include "osd_protocol.h" 4#include <scsi/osd_protocol.h>
5 5
6/* 6/*
7 * Contains types and constants that define attribute pages and attribute 7 * Contains types and constants that define attribute pages and attribute
diff --git a/include/scsi/osd_initiator.h b/include/scsi/osd_initiator.h
index 572fb5493661..b2e85fdd2ae0 100644
--- a/include/scsi/osd_initiator.h
+++ b/include/scsi/osd_initiator.h
@@ -14,8 +14,8 @@
14#ifndef __OSD_INITIATOR_H__ 14#ifndef __OSD_INITIATOR_H__
15#define __OSD_INITIATOR_H__ 15#define __OSD_INITIATOR_H__
16 16
17#include "osd_protocol.h" 17#include <scsi/osd_protocol.h>
18#include "osd_types.h" 18#include <scsi/osd_types.h>
19 19
20#include <linux/blkdev.h> 20#include <linux/blkdev.h>
21#include <scsi/scsi_device.h> 21#include <scsi/scsi_device.h>
diff --git a/include/scsi/osd_sec.h b/include/scsi/osd_sec.h
index 4c09fee8ae1e..f96151c9c9e8 100644
--- a/include/scsi/osd_sec.h
+++ b/include/scsi/osd_sec.h
@@ -14,8 +14,8 @@
14#ifndef __OSD_SEC_H__ 14#ifndef __OSD_SEC_H__
15#define __OSD_SEC_H__ 15#define __OSD_SEC_H__
16 16
17#include "osd_protocol.h" 17#include <scsi/osd_protocol.h>
18#include "osd_types.h" 18#include <scsi/osd_types.h>
19 19
20/* 20/*
21 * Contains types and constants of osd capabilities and security 21 * Contains types and constants of osd capabilities and security
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index 02cbb50225bb..fdeb8dceec0f 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -28,9 +28,9 @@
28#include <linux/bitops.h> 28#include <linux/bitops.h>
29#include <linux/device.h> 29#include <linux/device.h>
30#include <linux/workqueue.h> 30#include <linux/workqueue.h>
31#include "pcm.h" 31#include <sound/pcm.h>
32#include "control.h" 32#include <sound/control.h>
33#include "info.h" 33#include <sound/info.h>
34 34
35/* maximum number of devices on the AC97 bus */ 35/* maximum number of devices on the AC97 bus */
36#define AC97_BUS_MAX_DEVICES 4 36#define AC97_BUS_MAX_DEVICES 4
diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h
index d010858c33c2..a7d8dc782e7c 100644
--- a/include/sound/ad1816a.h
+++ b/include/sound/ad1816a.h
@@ -20,9 +20,9 @@
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/ 21*/
22 22
23#include "control.h" 23#include <sound/control.h>
24#include "pcm.h" 24#include <sound/pcm.h>
25#include "timer.h" 25#include <sound/timer.h>
26 26
27#define AD1816A_REG(r) (chip->port + r) 27#define AD1816A_REG(r) (chip->port + r)
28 28
diff --git a/include/sound/ak4531_codec.h b/include/sound/ak4531_codec.h
index 575296cf7987..85ea86ea35b3 100644
--- a/include/sound/ak4531_codec.h
+++ b/include/sound/ak4531_codec.h
@@ -25,8 +25,8 @@
25 * 25 *
26 */ 26 */
27 27
28#include "info.h" 28#include <sound/info.h>
29#include "control.h" 29#include <sound/control.h>
30 30
31/* 31/*
32 * ASAHI KASEI - AK4531 codec 32 * ASAHI KASEI - AK4531 codec
diff --git a/include/sound/emu10k1_synth.h b/include/sound/emu10k1_synth.h
index 6ef61c420935..9f211e957bf9 100644
--- a/include/sound/emu10k1_synth.h
+++ b/include/sound/emu10k1_synth.h
@@ -20,8 +20,8 @@
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */ 21 */
22 22
23#include "emu10k1.h" 23#include <sound/emu10k1.h>
24#include "emux_synth.h" 24#include <sound/emux_synth.h>
25 25
26/* sequencer device id */ 26/* sequencer device id */
27#define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH "emu10k1-synth" 27#define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH "emu10k1-synth"
diff --git a/include/sound/emu8000.h b/include/sound/emu8000.h
index c8f66bde6d95..c321302a9143 100644
--- a/include/sound/emu8000.h
+++ b/include/sound/emu8000.h
@@ -21,8 +21,8 @@
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 23
24#include "emux_synth.h" 24#include <sound/emux_synth.h>
25#include "seq_kernel.h" 25#include <sound/seq_kernel.h>
26 26
27/* 27/*
28 * Hardware parameters. 28 * Hardware parameters.
diff --git a/include/sound/emux_legacy.h b/include/sound/emux_legacy.h
index 6fe3da2a5e15..baf43fc24d39 100644
--- a/include/sound/emux_legacy.h
+++ b/include/sound/emux_legacy.h
@@ -22,7 +22,7 @@
22 * 22 *
23 */ 23 */
24 24
25#include "seq_oss_legacy.h" 25#include <sound/seq_oss_legacy.h>
26 26
27/* 27/*
28 * awe hardware controls 28 * awe hardware controls
diff --git a/include/sound/emux_synth.h b/include/sound/emux_synth.h
index d8cb51b86c20..fb81f3722b6a 100644
--- a/include/sound/emux_synth.h
+++ b/include/sound/emux_synth.h
@@ -21,15 +21,15 @@
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 23
24#include "seq_kernel.h" 24#include <sound/seq_kernel.h>
25#include "seq_device.h" 25#include <sound/seq_device.h>
26#include "soundfont.h" 26#include <sound/soundfont.h>
27#include "seq_midi_emul.h" 27#include <sound/seq_midi_emul.h>
28#ifdef CONFIG_SND_SEQUENCER_OSS 28#ifdef CONFIG_SND_SEQUENCER_OSS
29#include "seq_oss.h" 29#include <sound/seq_oss.h>
30#endif 30#endif
31#include "emux_legacy.h" 31#include <sound/emux_legacy.h>
32#include "seq_virmidi.h" 32#include <sound/seq_virmidi.h>
33 33
34/* 34/*
35 * compile flags 35 * compile flags
diff --git a/include/sound/es1688.h b/include/sound/es1688.h
index f752dd33dfaf..1d636a2d8896 100644
--- a/include/sound/es1688.h
+++ b/include/sound/es1688.h
@@ -22,8 +22,8 @@
22 * 22 *
23 */ 23 */
24 24
25#include "control.h" 25#include <sound/control.h>
26#include "pcm.h" 26#include <sound/pcm.h>
27#include <linux/interrupt.h> 27#include <linux/interrupt.h>
28 28
29#define ES1688_HW_AUTO 0x0000 29#define ES1688_HW_AUTO 0x0000
diff --git a/include/sound/gus.h b/include/sound/gus.h
index 841bb8df38c1..42905d811da7 100644
--- a/include/sound/gus.h
+++ b/include/sound/gus.h
@@ -22,11 +22,11 @@
22 * 22 *
23 */ 23 */
24 24
25#include "pcm.h" 25#include <sound/pcm.h>
26#include "rawmidi.h" 26#include <sound/rawmidi.h>
27#include "timer.h" 27#include <sound/timer.h>
28#include "seq_midi_emul.h" 28#include <sound/seq_midi_emul.h>
29#include "seq_device.h" 29#include <sound/seq_device.h>
30#include <asm/io.h> 30#include <asm/io.h>
31 31
32/* IO ports */ 32/* IO ports */
diff --git a/include/sound/mpu401.h b/include/sound/mpu401.h
index 20230db00ef1..e94209692513 100644
--- a/include/sound/mpu401.h
+++ b/include/sound/mpu401.h
@@ -22,7 +22,7 @@
22 * 22 *
23 */ 23 */
24 24
25#include "rawmidi.h" 25#include <sound/rawmidi.h>
26#include <linux/interrupt.h> 26#include <linux/interrupt.h>
27 27
28#define MPU401_HW_MPU401 1 /* native MPU401 */ 28#define MPU401_HW_MPU401 1 /* native MPU401 */
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index cdca2ab1e711..d0711bc8c914 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -35,7 +35,7 @@
35#define snd_pcm_chip(pcm) ((pcm)->private_data) 35#define snd_pcm_chip(pcm) ((pcm)->private_data)
36 36
37#if defined(CONFIG_SND_PCM_OSS) || defined(CONFIG_SND_PCM_OSS_MODULE) 37#if defined(CONFIG_SND_PCM_OSS) || defined(CONFIG_SND_PCM_OSS_MODULE)
38#include "pcm_oss.h" 38#include <sound/pcm_oss.h>
39#endif 39#endif
40 40
41/* 41/*
diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h
index 6b14359d9fed..adf0885153f3 100644
--- a/include/sound/rawmidi.h
+++ b/include/sound/rawmidi.h
@@ -30,7 +30,7 @@
30#include <linux/workqueue.h> 30#include <linux/workqueue.h>
31 31
32#if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE) 32#if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)
33#include "seq_device.h" 33#include <sound/seq_device.h>
34#endif 34#endif
35 35
36/* 36/*
diff --git a/include/sound/sb.h b/include/sound/sb.h
index 95353542256a..ba3960329646 100644
--- a/include/sound/sb.h
+++ b/include/sound/sb.h
@@ -22,8 +22,8 @@
22 * 22 *
23 */ 23 */
24 24
25#include "pcm.h" 25#include <sound/pcm.h>
26#include "rawmidi.h" 26#include <sound/rawmidi.h>
27#include <linux/interrupt.h> 27#include <linux/interrupt.h>
28#include <asm/io.h> 28#include <asm/io.h>
29 29
diff --git a/include/sound/sb16_csp.h b/include/sound/sb16_csp.h
index af1b49e982df..7e950560e591 100644
--- a/include/sound/sb16_csp.h
+++ b/include/sound/sb16_csp.h
@@ -119,8 +119,8 @@ struct snd_sb_csp_info {
119#define SNDRV_SB_CSP_IOCTL_RESTART _IO('H', 0x16) 119#define SNDRV_SB_CSP_IOCTL_RESTART _IO('H', 0x16)
120 120
121#ifdef __KERNEL__ 121#ifdef __KERNEL__
122#include "sb.h" 122#include <sound/sb.h>
123#include "hwdep.h" 123#include <sound/hwdep.h>
124#include <linux/firmware.h> 124#include <linux/firmware.h>
125 125
126struct snd_sb_csp; 126struct snd_sb_csp;
diff --git a/include/sound/seq_kernel.h b/include/sound/seq_kernel.h
index f352a98ce4f4..2398521f0998 100644
--- a/include/sound/seq_kernel.h
+++ b/include/sound/seq_kernel.h
@@ -22,7 +22,7 @@
22 * 22 *
23 */ 23 */
24#include <linux/time.h> 24#include <linux/time.h>
25#include "asequencer.h" 25#include <sound/asequencer.h>
26 26
27typedef struct snd_seq_real_time snd_seq_real_time_t; 27typedef struct snd_seq_real_time snd_seq_real_time_t;
28typedef union snd_seq_timestamp snd_seq_timestamp_t; 28typedef union snd_seq_timestamp snd_seq_timestamp_t;
diff --git a/include/sound/seq_midi_emul.h b/include/sound/seq_midi_emul.h
index d6c4615901b9..8139d8c191ed 100644
--- a/include/sound/seq_midi_emul.h
+++ b/include/sound/seq_midi_emul.h
@@ -22,7 +22,7 @@
22 * 22 *
23 */ 23 */
24 24
25#include "seq_kernel.h" 25#include <sound/seq_kernel.h>
26 26
27/* 27/*
28 * This structure is used to keep track of the current state on each 28 * This structure is used to keep track of the current state on each
diff --git a/include/sound/seq_midi_event.h b/include/sound/seq_midi_event.h
index 5efab8b29c57..e40f43e6fc7b 100644
--- a/include/sound/seq_midi_event.h
+++ b/include/sound/seq_midi_event.h
@@ -22,7 +22,7 @@
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */ 23 */
24 24
25#include "asequencer.h" 25#include <sound/asequencer.h>
26 26
27#define MAX_MIDI_EVENT_BUF 256 27#define MAX_MIDI_EVENT_BUF 256
28 28
diff --git a/include/sound/seq_oss.h b/include/sound/seq_oss.h
index 9b060bbd6e02..d0b27ec6f8b8 100644
--- a/include/sound/seq_oss.h
+++ b/include/sound/seq_oss.h
@@ -21,8 +21,8 @@
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 23
24#include "asequencer.h" 24#include <sound/asequencer.h>
25#include "seq_kernel.h" 25#include <sound/seq_kernel.h>
26 26
27/* 27/*
28 * argument structure for synthesizer operations 28 * argument structure for synthesizer operations
diff --git a/include/sound/seq_virmidi.h b/include/sound/seq_virmidi.h
index d888433a3096..a03acd0d398a 100644
--- a/include/sound/seq_virmidi.h
+++ b/include/sound/seq_virmidi.h
@@ -22,8 +22,8 @@
22 * 22 *
23 */ 23 */
24 24
25#include "rawmidi.h" 25#include <sound/rawmidi.h>
26#include "seq_midi_event.h" 26#include <sound/seq_midi_event.h>
27 27
28/* 28/*
29 * device file instance: 29 * device file instance:
diff --git a/include/sound/snd_wavefront.h b/include/sound/snd_wavefront.h
index fa149ca77e4b..35e94b3d1ec7 100644
--- a/include/sound/snd_wavefront.h
+++ b/include/sound/snd_wavefront.h
@@ -1,10 +1,10 @@
1#ifndef __SOUND_SND_WAVEFRONT_H__ 1#ifndef __SOUND_SND_WAVEFRONT_H__
2#define __SOUND_SND_WAVEFRONT_H__ 2#define __SOUND_SND_WAVEFRONT_H__
3 3
4#include "mpu401.h" 4#include <sound/mpu401.h>
5#include "hwdep.h" 5#include <sound/hwdep.h>
6#include "rawmidi.h" 6#include <sound/rawmidi.h>
7#include "wavefront.h" /* generic OSS/ALSA/user-level wavefront header */ 7#include <sound/wavefront.h> /* generic OSS/ALSA/user-level wavefront header */
8 8
9/* MIDI interface */ 9/* MIDI interface */
10 10
diff --git a/include/sound/soundfont.h b/include/sound/soundfont.h
index 679df0574066..7c93efdba90d 100644
--- a/include/sound/soundfont.h
+++ b/include/sound/soundfont.h
@@ -22,8 +22,8 @@
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */ 23 */
24 24
25#include "sfnt_info.h" 25#include <sound/sfnt_info.h>
26#include "util_mem.h" 26#include <sound/util_mem.h>
27 27
28#define SF_MAX_INSTRUMENTS 128 /* maximum instrument number */ 28#define SF_MAX_INSTRUMENTS 128 /* maximum instrument number */
29#define SF_MAX_PRESETS 256 /* drums are mapped from 128 to 256 */ 29#define SF_MAX_PRESETS 256 /* drums are mapped from 128 to 256 */
diff --git a/include/sound/tea6330t.h b/include/sound/tea6330t.h
index 51b282b76896..e6beec23d7f2 100644
--- a/include/sound/tea6330t.h
+++ b/include/sound/tea6330t.h
@@ -22,7 +22,7 @@
22 * 22 *
23 */ 23 */
24 24
25#include "i2c.h" /* generic i2c support */ 25#include <sound/i2c.h> /* generic i2c support */
26 26
27int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer); 27int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer);
28int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus, 28int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
diff --git a/include/sound/wss.h b/include/sound/wss.h
index fd01f22825cd..0c7f034f1e86 100644
--- a/include/sound/wss.h
+++ b/include/sound/wss.h
@@ -22,11 +22,11 @@
22 * 22 *
23 */ 23 */
24 24
25#include "control.h" 25#include <sound/control.h>
26#include "pcm.h" 26#include <sound/pcm.h>
27#include "timer.h" 27#include <sound/timer.h>
28 28
29#include "cs4231-regs.h" 29#include <sound/cs4231-regs.h>
30 30
31/* defines for codec.mode */ 31/* defines for codec.mode */
32 32
diff --git a/include/trace/events/compaction.h b/include/trace/events/compaction.h
index 388bcdd26d46..fde1b3e94c7d 100644
--- a/include/trace/events/compaction.h
+++ b/include/trace/events/compaction.h
@@ -6,7 +6,7 @@
6 6
7#include <linux/types.h> 7#include <linux/types.h>
8#include <linux/tracepoint.h> 8#include <linux/tracepoint.h>
9#include "gfpflags.h" 9#include <trace/events/gfpflags.h>
10 10
11DECLARE_EVENT_CLASS(mm_compaction_isolate_template, 11DECLARE_EVENT_CLASS(mm_compaction_isolate_template,
12 12
diff --git a/include/trace/events/kmem.h b/include/trace/events/kmem.h
index 08fa27244da7..6bc943ecb841 100644
--- a/include/trace/events/kmem.h
+++ b/include/trace/events/kmem.h
@@ -6,7 +6,7 @@
6 6
7#include <linux/types.h> 7#include <linux/types.h>
8#include <linux/tracepoint.h> 8#include <linux/tracepoint.h>
9#include "gfpflags.h" 9#include <trace/events/gfpflags.h>
10 10
11DECLARE_EVENT_CLASS(kmem_alloc, 11DECLARE_EVENT_CLASS(kmem_alloc,
12 12
diff --git a/include/trace/events/vmscan.h b/include/trace/events/vmscan.h
index bab3b87e4064..63cfcccaebb3 100644
--- a/include/trace/events/vmscan.h
+++ b/include/trace/events/vmscan.h
@@ -8,7 +8,7 @@
8#include <linux/tracepoint.h> 8#include <linux/tracepoint.h>
9#include <linux/mm.h> 9#include <linux/mm.h>
10#include <linux/memcontrol.h> 10#include <linux/memcontrol.h>
11#include "gfpflags.h" 11#include <trace/events/gfpflags.h>
12 12
13#define RECLAIM_WB_ANON 0x0001u 13#define RECLAIM_WB_ANON 0x0001u
14#define RECLAIM_WB_FILE 0x0002u 14#define RECLAIM_WB_FILE 0x0002u
diff --git a/include/uapi/Kbuild b/include/uapi/Kbuild
new file mode 100644
index 000000000000..81d2106287fe
--- /dev/null
+++ b/include/uapi/Kbuild
@@ -0,0 +1,14 @@
1# UAPI Header export list
2# Top-level Makefile calls into asm-$(ARCH)
3# List only non-arch directories below
4
5
6header-y += asm-generic/
7header-y += linux/
8header-y += sound/
9header-y += mtd/
10header-y += rdma/
11header-y += video/
12header-y += drm/
13header-y += xen/
14header-y += scsi/
diff --git a/include/uapi/asm-generic/Kbuild b/include/uapi/asm-generic/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/asm-generic/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/asm-generic/Kbuild.asm b/include/uapi/asm-generic/Kbuild.asm
new file mode 100644
index 000000000000..fcd50b759217
--- /dev/null
+++ b/include/uapi/asm-generic/Kbuild.asm
@@ -0,0 +1,49 @@
1#
2# Headers that are optional in usr/include/asm/
3#
4opt-header += kvm.h
5opt-header += kvm_para.h
6opt-header += a.out.h
7
8#
9# Headers that are mandatory in usr/include/asm/
10#
11header-y += auxvec.h
12header-y += bitsperlong.h
13header-y += byteorder.h
14header-y += errno.h
15header-y += fcntl.h
16header-y += ioctl.h
17header-y += ioctls.h
18header-y += ipcbuf.h
19header-y += mman.h
20header-y += msgbuf.h
21header-y += param.h
22header-y += poll.h
23header-y += posix_types.h
24header-y += ptrace.h
25header-y += resource.h
26header-y += sembuf.h
27header-y += setup.h
28header-y += shmbuf.h
29header-y += sigcontext.h
30header-y += siginfo.h
31header-y += signal.h
32header-y += socket.h
33header-y += sockios.h
34header-y += stat.h
35header-y += statfs.h
36header-y += swab.h
37header-y += termbits.h
38header-y += termios.h
39header-y += types.h
40header-y += unistd.h
41
42header-y += $(foreach hdr,$(opt-header), \
43 $(if \
44 $(wildcard \
45 $(srctree)/arch/$(SRCARCH)/include/uapi/asm/$(hdr) \
46 $(srctree)/arch/$(SRCARCH)/include/asm/$(hdr) \
47 ), \
48 $(hdr) \
49 ))
diff --git a/include/uapi/drm/Kbuild b/include/uapi/drm/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/drm/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild
new file mode 100644
index 000000000000..b0fd4d03499d
--- /dev/null
+++ b/include/uapi/linux/Kbuild
@@ -0,0 +1,24 @@
1# UAPI Header export list
2header-y += byteorder/
3header-y += can/
4header-y += caif/
5header-y += dvb/
6header-y += hdlc/
7header-y += hsi/
8header-y += isdn/
9header-y += mmc/
10header-y += nfsd/
11header-y += raid/
12header-y += spi/
13header-y += sunrpc/
14header-y += tc_act/
15header-y += tc_ematch/
16header-y += netfilter/
17header-y += netfilter_arp/
18header-y += netfilter_bridge/
19header-y += netfilter_ipv4/
20header-y += netfilter_ipv6/
21header-y += usb/
22header-y += wimax/
23
24genhdr-y += version.h
diff --git a/include/uapi/linux/byteorder/Kbuild b/include/uapi/linux/byteorder/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/byteorder/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/caif/Kbuild b/include/uapi/linux/caif/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/caif/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/can/Kbuild b/include/uapi/linux/can/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/can/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/dvb/Kbuild b/include/uapi/linux/dvb/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/dvb/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/hdlc/Kbuild b/include/uapi/linux/hdlc/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/hdlc/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/hsi/Kbuild b/include/uapi/linux/hsi/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/hsi/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/isdn/Kbuild b/include/uapi/linux/isdn/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/isdn/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/mmc/Kbuild b/include/uapi/linux/mmc/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/mmc/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/netfilter/Kbuild b/include/uapi/linux/netfilter/Kbuild
new file mode 100644
index 000000000000..4afbace8e869
--- /dev/null
+++ b/include/uapi/linux/netfilter/Kbuild
@@ -0,0 +1,2 @@
1# UAPI Header export list
2header-y += ipset/
diff --git a/include/uapi/linux/netfilter/ipset/Kbuild b/include/uapi/linux/netfilter/ipset/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/netfilter/ipset/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/netfilter_arp/Kbuild b/include/uapi/linux/netfilter_arp/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/netfilter_arp/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/netfilter_bridge/Kbuild b/include/uapi/linux/netfilter_bridge/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/netfilter_bridge/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/netfilter_ipv4/Kbuild b/include/uapi/linux/netfilter_ipv4/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/netfilter_ipv4/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/netfilter_ipv6/Kbuild b/include/uapi/linux/netfilter_ipv6/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/netfilter_ipv6/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/nfsd/Kbuild b/include/uapi/linux/nfsd/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/nfsd/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/raid/Kbuild b/include/uapi/linux/raid/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/raid/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/spi/Kbuild b/include/uapi/linux/spi/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/spi/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/sunrpc/Kbuild b/include/uapi/linux/sunrpc/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/sunrpc/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/tc_act/Kbuild b/include/uapi/linux/tc_act/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/tc_act/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/tc_ematch/Kbuild b/include/uapi/linux/tc_ematch/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/tc_ematch/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/usb/Kbuild b/include/uapi/linux/usb/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/usb/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/linux/wimax/Kbuild b/include/uapi/linux/wimax/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/linux/wimax/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/mtd/Kbuild b/include/uapi/mtd/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/mtd/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/rdma/Kbuild b/include/uapi/rdma/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/rdma/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/scsi/Kbuild b/include/uapi/scsi/Kbuild
new file mode 100644
index 000000000000..29a87dd26cfb
--- /dev/null
+++ b/include/uapi/scsi/Kbuild
@@ -0,0 +1,2 @@
1# UAPI Header export list
2header-y += fc/
diff --git a/include/uapi/scsi/fc/Kbuild b/include/uapi/scsi/fc/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/scsi/fc/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/sound/Kbuild b/include/uapi/sound/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/sound/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/video/Kbuild b/include/uapi/video/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/video/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/uapi/xen/Kbuild b/include/uapi/xen/Kbuild
new file mode 100644
index 000000000000..aafaa5aa54d4
--- /dev/null
+++ b/include/uapi/xen/Kbuild
@@ -0,0 +1 @@
# UAPI Header export list
diff --git a/include/xen/interface/callback.h b/include/xen/interface/callback.h
index 2ae3cd243264..8c5fa0e20155 100644
--- a/include/xen/interface/callback.h
+++ b/include/xen/interface/callback.h
@@ -27,7 +27,7 @@
27#ifndef __XEN_PUBLIC_CALLBACK_H__ 27#ifndef __XEN_PUBLIC_CALLBACK_H__
28#define __XEN_PUBLIC_CALLBACK_H__ 28#define __XEN_PUBLIC_CALLBACK_H__
29 29
30#include "xen.h" 30#include <xen/interface/xen.h>
31 31
32/* 32/*
33 * Prototype for this hypercall is: 33 * Prototype for this hypercall is:
diff --git a/include/xen/interface/hvm/params.h b/include/xen/interface/hvm/params.h
index 1b4f923d7086..a6c79911e729 100644
--- a/include/xen/interface/hvm/params.h
+++ b/include/xen/interface/hvm/params.h
@@ -21,7 +21,7 @@
21#ifndef __XEN_PUBLIC_HVM_PARAMS_H__ 21#ifndef __XEN_PUBLIC_HVM_PARAMS_H__
22#define __XEN_PUBLIC_HVM_PARAMS_H__ 22#define __XEN_PUBLIC_HVM_PARAMS_H__
23 23
24#include "hvm_op.h" 24#include <xen/interface/hvm/hvm_op.h>
25 25
26/* 26/*
27 * Parameter space for HVMOP_{set,get}_param. 27 * Parameter space for HVMOP_{set,get}_param.
diff --git a/include/xen/interface/io/blkif.h b/include/xen/interface/io/blkif.h
index ee338bfde18b..01c3d62436ef 100644
--- a/include/xen/interface/io/blkif.h
+++ b/include/xen/interface/io/blkif.h
@@ -9,8 +9,8 @@
9#ifndef __XEN_PUBLIC_IO_BLKIF_H__ 9#ifndef __XEN_PUBLIC_IO_BLKIF_H__
10#define __XEN_PUBLIC_IO_BLKIF_H__ 10#define __XEN_PUBLIC_IO_BLKIF_H__
11 11
12#include "ring.h" 12#include <xen/interface/io/ring.h>
13#include "../grant_table.h" 13#include <xen/interface/grant_table.h>
14 14
15/* 15/*
16 * Front->back notifications: When enqueuing a new request, sending a 16 * Front->back notifications: When enqueuing a new request, sending a
diff --git a/include/xen/interface/io/netif.h b/include/xen/interface/io/netif.h
index cb94668f6e9f..9dfc12000980 100644
--- a/include/xen/interface/io/netif.h
+++ b/include/xen/interface/io/netif.h
@@ -9,8 +9,8 @@
9#ifndef __XEN_PUBLIC_IO_NETIF_H__ 9#ifndef __XEN_PUBLIC_IO_NETIF_H__
10#define __XEN_PUBLIC_IO_NETIF_H__ 10#define __XEN_PUBLIC_IO_NETIF_H__
11 11
12#include "ring.h" 12#include <xen/interface/io/ring.h>
13#include "../grant_table.h" 13#include <xen/interface/grant_table.h>
14 14
15/* 15/*
16 * Notifications after enqueuing any type of message should be conditional on 16 * Notifications after enqueuing any type of message should be conditional on
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h
index 54ad6f9e4725..4755b5fac9c7 100644
--- a/include/xen/interface/platform.h
+++ b/include/xen/interface/platform.h
@@ -27,7 +27,7 @@
27#ifndef __XEN_PUBLIC_PLATFORM_H__ 27#ifndef __XEN_PUBLIC_PLATFORM_H__
28#define __XEN_PUBLIC_PLATFORM_H__ 28#define __XEN_PUBLIC_PLATFORM_H__
29 29
30#include "xen.h" 30#include <xen/interface/xen.h>
31 31
32#define XENPF_INTERFACE_VERSION 0x03000001 32#define XENPF_INTERFACE_VERSION 0x03000001
33 33
diff --git a/include/xen/interface/sched.h b/include/xen/interface/sched.h
index dd55dac340de..9ce083960a25 100644
--- a/include/xen/interface/sched.h
+++ b/include/xen/interface/sched.h
@@ -9,7 +9,7 @@
9#ifndef __XEN_PUBLIC_SCHED_H__ 9#ifndef __XEN_PUBLIC_SCHED_H__
10#define __XEN_PUBLIC_SCHED_H__ 10#define __XEN_PUBLIC_SCHED_H__
11 11
12#include "event_channel.h" 12#include <xen/interface/event_channel.h>
13 13
14/* 14/*
15 * The prototype for this hypercall is: 15 * The prototype for this hypercall is:
diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h
index dd58cf5ea3e4..5f5e551cf546 100644
--- a/include/xen/interface/version.h
+++ b/include/xen/interface/version.h
@@ -55,7 +55,7 @@ struct xen_feature_info {
55}; 55};
56 56
57/* Declares the features reported by XENVER_get_features. */ 57/* Declares the features reported by XENVER_get_features. */
58#include "features.h" 58#include <xen/interface/features.h>
59 59
60/* arg == NULL; returns host memory page size. */ 60/* arg == NULL; returns host memory page size. */
61#define XENVER_pagesize 7 61#define XENVER_pagesize 7