diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-03 16:45:43 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-03 16:45:43 -0400 |
| commit | 9b2e077c42a97fcbdc0dd71edb1fc9d15c74ad29 (patch) | |
| tree | 20bf301d21f6c3776046acada5070630009ceedb /include/linux/ceph | |
| parent | a54dfb1a845c38a97686268d8c4086a63d9493aa (diff) | |
| parent | 10b63956fce7f369cc37fd4d994f09bd5203efe4 (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/linux/ceph')
| -rw-r--r-- | include/linux/ceph/ceph_fs.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/debugfs.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/decode.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/libceph.h | 14 | ||||
| -rw-r--r-- | include/linux/ceph/mdsmap.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/messenger.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/mon_client.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/msgpool.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/osdmap.h | 4 | ||||
| -rw-r--r-- | include/linux/ceph/rados.h | 2 | ||||
| -rw-r--r-- | include/linux/ceph/types.h | 6 |
11 files changed, 23 insertions, 23 deletions
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) \ |
| 8 | static int name##_open(struct inode *inode, struct file *file) \ | 8 | static 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 | ||
| 14 | struct ceph_msg; | 14 | struct ceph_msg; |
| 15 | struct ceph_connection; | 15 | struct 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 | ||
| 10 | struct ceph_client; | 10 | struct ceph_client; |
| 11 | struct ceph_mount_args; | 11 | struct 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). |
