Skip to content
Snippets Groups Projects
Commit 45c82b5a authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'header-fixes-for-linus' of...

Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (90 commits)
  headers_check fix: x86, swab.h
  headers_check fix: x86, sigcontext32.h
  headers_check fix: x86, sigcontext.h
  headers_check fix: x86, ptrace-abi.h
  headers_check fix: x86, mtrr.h
  headers_check fix: x86, mce.h
  headers_check fix: x86, kvm.h
  headers_check fix: x86, e820.h
  headers_check fix: linux/rtnetlink.h
  headers_check fix: linux/nubus.h
  headers_check fix: video/uvesafb.h
  headers_check fix: video/sisfb.h
  headers_check fix: sound/hdsp.h
  headers_check fix: mtd/inftl-user.h
  headers_check fix: linux/virtio_net.h
  headers_check fix: linux/virtio_console.h
  headers_check fix: linux/virtio_blk.h
  headers_check fix: linux/videodev.h
  headers_check fix: linux/video_encoder.h
  headers_check fix: linux/video_decoder.h
  ...
parents 1347e965 7cff3608
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 13 deletions
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#define E820_RESERVED_KERN 128 #define E820_RESERVED_KERN 128
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/types.h>
struct e820entry { struct e820entry {
__u64 addr; /* start of memory segment */ __u64 addr; /* start of memory segment */
__u64 size; /* size of memory segment */ __u64 size; /* size of memory segment */
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
*/ */
#include <asm/types.h> #include <linux/types.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
/* Architectural interrupt line count. */ /* Architectural interrupt line count. */
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#ifdef __x86_64__ #ifdef __x86_64__
#include <linux/types.h>
#include <asm/ioctls.h> #include <asm/ioctls.h>
#include <asm/types.h>
/* /*
* Machine Check support for x86 * Machine Check support for x86
...@@ -115,8 +115,6 @@ extern int mce_notify_user(void); ...@@ -115,8 +115,6 @@ extern int mce_notify_user(void);
#endif /* !CONFIG_X86_32 */ #endif /* !CONFIG_X86_32 */
#ifdef CONFIG_X86_MCE #ifdef CONFIG_X86_MCE
extern void mcheck_init(struct cpuinfo_x86 *c); extern void mcheck_init(struct cpuinfo_x86 *c);
#else #else
...@@ -126,5 +124,4 @@ extern void stop_mce(void); ...@@ -126,5 +124,4 @@ extern void stop_mce(void);
extern void restart_mce(void); extern void restart_mce(void);
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_X86_MCE_H */ #endif /* _ASM_X86_MCE_H */
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#ifndef _ASM_X86_MTRR_H #ifndef _ASM_X86_MTRR_H
#define _ASM_X86_MTRR_H #define _ASM_X86_MTRR_H
#include <linux/types.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#include <linux/errno.h> #include <linux/errno.h>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
#ifdef CONFIG_X86_PTRACE_BTS #ifdef CONFIG_X86_PTRACE_BTS
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <asm/types.h> #include <linux/types.h>
/* configuration/status structure used in PTRACE_BTS_CONFIG and /* configuration/status structure used in PTRACE_BTS_CONFIG and
PTRACE_BTS_STATUS commands. PTRACE_BTS_STATUS commands.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASM_X86_SIGCONTEXT_H #define _ASM_X86_SIGCONTEXT_H
#include <linux/compiler.h> #include <linux/compiler.h>
#include <asm/types.h> #include <linux/types.h>
#define FP_XSTATE_MAGIC1 0x46505853U #define FP_XSTATE_MAGIC1 0x46505853U
#define FP_XSTATE_MAGIC2 0x46505845U #define FP_XSTATE_MAGIC2 0x46505845U
......
#ifndef _ASM_X86_SIGCONTEXT32_H #ifndef _ASM_X86_SIGCONTEXT32_H
#define _ASM_X86_SIGCONTEXT32_H #define _ASM_X86_SIGCONTEXT32_H
#include <linux/types.h>
/* signal context for 32bit programs. */ /* signal context for 32bit programs. */
#define X86_FXSR_MAGIC 0x0000 #define X86_FXSR_MAGIC 0x0000
......
#ifndef _ASM_X86_SWAB_H #ifndef _ASM_X86_SWAB_H
#define _ASM_X86_SWAB_H #define _ASM_X86_SWAB_H
#include <asm/types.h> #include <linux/types.h>
#include <linux/compiler.h> #include <linux/compiler.h>
static inline __attribute_const__ __u32 __arch_swab32(__u32 val) static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#ifndef __LINUX__AIO_ABI_H #ifndef __LINUX__AIO_ABI_H
#define __LINUX__AIO_ABI_H #define __LINUX__AIO_ABI_H
#include <linux/types.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
typedef unsigned long aio_context_t; typedef unsigned long aio_context_t;
......
#ifndef __LINUX_ATALK_H__ #ifndef __LINUX_ATALK_H__
#define __LINUX_ATALK_H__ #define __LINUX_ATALK_H__
#include <linux/types.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
/* /*
......
#ifndef _LINUX_ATMBR2684_H #ifndef _LINUX_ATMBR2684_H
#define _LINUX_ATMBR2684_H #define _LINUX_ATMBR2684_H
#include <linux/types.h>
#include <linux/atm.h> #include <linux/atm.h>
#include <linux/if.h> /* For IFNAMSIZ */ #include <linux/if.h> /* For IFNAMSIZ */
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#define _LINUX_AUTO_FS4_H #define _LINUX_AUTO_FS4_H
/* Include common v3 definitions */ /* Include common v3 definitions */
#include <linux/types.h>
#include <linux/auto_fs.h> #include <linux/auto_fs.h>
/* autofs v4 definitions */ /* autofs v4 definitions */
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#ifndef _LINUX_BFS_FS_H #ifndef _LINUX_BFS_FS_H
#define _LINUX_BFS_FS_H #define _LINUX_BFS_FS_H
#include <linux/types.h>
#define BFS_BSIZE_BITS 9 #define BFS_BSIZE_BITS 9
#define BFS_BSIZE (1<<BFS_BSIZE_BITS) #define BFS_BSIZE (1<<BFS_BSIZE_BITS)
...@@ -17,7 +19,6 @@ ...@@ -17,7 +19,6 @@
#define BFS_VDIR 2L #define BFS_VDIR 2L
#define BFS_VREG 1L #define BFS_VREG 1L
/* BFS inode layout on disk */ /* BFS inode layout on disk */
struct bfs_inode { struct bfs_inode {
__le16 i_ino; __le16 i_ino;
......
#ifndef BLKTRACE_H #ifndef BLKTRACE_H
#define BLKTRACE_H #define BLKTRACE_H
#include <linux/types.h>
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/relay.h> #include <linux/relay.h>
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#ifndef CAN_BCM_H #ifndef CAN_BCM_H
#define CAN_BCM_H #define CAN_BCM_H
#include <linux/types.h>
/** /**
* struct bcm_msg_head - head of messages to/from the broadcast manager * struct bcm_msg_head - head of messages to/from the broadcast manager
* @opcode: opcode, see enum below. * @opcode: opcode, see enum below.
......
...@@ -69,10 +69,6 @@ typedef struct __user_cap_data_struct { ...@@ -69,10 +69,6 @@ typedef struct __user_cap_data_struct {
#define VFS_CAP_U32 VFS_CAP_U32_2 #define VFS_CAP_U32 VFS_CAP_U32_2
#define VFS_CAP_REVISION VFS_CAP_REVISION_2 #define VFS_CAP_REVISION VFS_CAP_REVISION_2
#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
extern int file_caps_enabled;
#endif
struct vfs_cap_data { struct vfs_cap_data {
__le32 magic_etc; /* Little endian */ __le32 magic_etc; /* Little endian */
struct { struct {
...@@ -96,6 +92,10 @@ struct vfs_cap_data { ...@@ -96,6 +92,10 @@ struct vfs_cap_data {
#define _KERNEL_CAPABILITY_VERSION _LINUX_CAPABILITY_VERSION_3 #define _KERNEL_CAPABILITY_VERSION _LINUX_CAPABILITY_VERSION_3
#define _KERNEL_CAPABILITY_U32S _LINUX_CAPABILITY_U32S_3 #define _KERNEL_CAPABILITY_U32S _LINUX_CAPABILITY_U32S_3
#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
extern int file_caps_enabled;
#endif
typedef struct kernel_cap_struct { typedef struct kernel_cap_struct {
__u32 cap[_KERNEL_CAPABILITY_U32S]; __u32 cap[_KERNEL_CAPABILITY_U32S];
} kernel_cap_t; } kernel_cap_t;
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#ifndef _LINUX_CDROM_H #ifndef _LINUX_CDROM_H
#define _LINUX_CDROM_H #define _LINUX_CDROM_H
#include <linux/types.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
/******************************************************* /*******************************************************
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#ifndef _LINUX_CGROUPSTATS_H #ifndef _LINUX_CGROUPSTATS_H
#define _LINUX_CGROUPSTATS_H #define _LINUX_CGROUPSTATS_H
#include <linux/types.h>
#include <linux/taskstats.h> #include <linux/taskstats.h>
/* /*
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#ifndef __DLM_PLOCK_DOT_H__ #ifndef __DLM_PLOCK_DOT_H__
#define __DLM_PLOCK_DOT_H__ #define __DLM_PLOCK_DOT_H__
#include <linux/types.h>
#define DLM_PLOCK_MISC_NAME "dlm_plock" #define DLM_PLOCK_MISC_NAME "dlm_plock"
#define DLM_PLOCK_VERSION_MAJOR 1 #define DLM_PLOCK_VERSION_MAJOR 1
......
#ifndef _LINUX_DN_H #ifndef _LINUX_DN_H
#define _LINUX_DN_H #define _LINUX_DN_H
#include <linux/types.h>
/* /*
DECnet Data Structures and Constants DECnet Data Structures and Constants
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment