diff options
Diffstat (limited to 'include')
44 files changed, 337 insertions, 176 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h index af5d0350f84c..8ed67779fc09 100644 --- a/include/asm-generic/siginfo.h +++ b/include/asm-generic/siginfo.h | |||
| @@ -35,6 +35,14 @@ typedef union sigval { | |||
| 35 | #define __ARCH_SI_BAND_T long | 35 | #define __ARCH_SI_BAND_T long |
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| 38 | #ifndef __ARCH_SI_CLOCK_T | ||
| 39 | #define __ARCH_SI_CLOCK_T __kernel_clock_t | ||
| 40 | #endif | ||
| 41 | |||
| 42 | #ifndef __ARCH_SI_ATTRIBUTES | ||
| 43 | #define __ARCH_SI_ATTRIBUTES | ||
| 44 | #endif | ||
| 45 | |||
| 38 | #ifndef HAVE_ARCH_SIGINFO_T | 46 | #ifndef HAVE_ARCH_SIGINFO_T |
| 39 | 47 | ||
| 40 | typedef struct siginfo { | 48 | typedef struct siginfo { |
| @@ -72,8 +80,8 @@ typedef struct siginfo { | |||
| 72 | __kernel_pid_t _pid; /* which child */ | 80 | __kernel_pid_t _pid; /* which child */ |
| 73 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 81 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
| 74 | int _status; /* exit code */ | 82 | int _status; /* exit code */ |
| 75 | __kernel_clock_t _utime; | 83 | __ARCH_SI_CLOCK_T _utime; |
| 76 | __kernel_clock_t _stime; | 84 | __ARCH_SI_CLOCK_T _stime; |
| 77 | } _sigchld; | 85 | } _sigchld; |
| 78 | 86 | ||
| 79 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ | 87 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ |
| @@ -98,7 +106,7 @@ typedef struct siginfo { | |||
| 98 | unsigned int _arch; /* AUDIT_ARCH_* of syscall */ | 106 | unsigned int _arch; /* AUDIT_ARCH_* of syscall */ |
| 99 | } _sigsys; | 107 | } _sigsys; |
| 100 | } _sifields; | 108 | } _sifields; |
| 101 | } siginfo_t; | 109 | } __ARCH_SI_ATTRIBUTES siginfo_t; |
| 102 | 110 | ||
| 103 | /* If the arch shares siginfo, then it has SIGSYS. */ | 111 | /* If the arch shares siginfo, then it has SIGSYS. */ |
| 104 | #define __ARCH_SIGSYS | 112 | #define __ARCH_SIGSYS |
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index 3963116083ae..e478de4e5d56 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/exynos_drm.h | |||
| @@ -85,7 +85,7 @@ struct drm_exynos_gem_mmap { | |||
| 85 | struct drm_exynos_vidi_connection { | 85 | struct drm_exynos_vidi_connection { |
| 86 | unsigned int connection; | 86 | unsigned int connection; |
| 87 | unsigned int extensions; | 87 | unsigned int extensions; |
| 88 | uint64_t *edid; | 88 | uint64_t edid; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | struct drm_exynos_plane_set_zpos { | 91 | struct drm_exynos_plane_set_zpos { |
| @@ -96,7 +96,8 @@ struct drm_exynos_plane_set_zpos { | |||
| 96 | /* memory type definitions. */ | 96 | /* memory type definitions. */ |
| 97 | enum e_drm_exynos_gem_mem_type { | 97 | enum e_drm_exynos_gem_mem_type { |
| 98 | /* Physically Non-Continuous memory. */ | 98 | /* Physically Non-Continuous memory. */ |
| 99 | EXYNOS_BO_NONCONTIG = 1 << 0 | 99 | EXYNOS_BO_NONCONTIG = 1 << 0, |
| 100 | EXYNOS_BO_MASK = EXYNOS_BO_NONCONTIG | ||
| 100 | }; | 101 | }; |
| 101 | 102 | ||
| 102 | #define DRM_EXYNOS_GEM_CREATE 0x00 | 103 | #define DRM_EXYNOS_GEM_CREATE 0x00 |
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index 7847e197730a..8d54f79457ba 100644 --- a/include/linux/amba/bus.h +++ b/include/linux/amba/bus.h | |||
| @@ -30,7 +30,6 @@ struct amba_device { | |||
| 30 | struct device dev; | 30 | struct device dev; |
| 31 | struct resource res; | 31 | struct resource res; |
| 32 | struct clk *pclk; | 32 | struct clk *pclk; |
| 33 | struct regulator *vcore; | ||
| 34 | u64 dma_mask; | 33 | u64 dma_mask; |
| 35 | unsigned int periphid; | 34 | unsigned int periphid; |
| 36 | unsigned int irq[AMBA_NR_IRQS]; | 35 | unsigned int irq[AMBA_NR_IRQS]; |
| @@ -75,12 +74,6 @@ void amba_release_regions(struct amba_device *); | |||
| 75 | #define amba_pclk_disable(d) \ | 74 | #define amba_pclk_disable(d) \ |
| 76 | do { if (!IS_ERR((d)->pclk)) clk_disable((d)->pclk); } while (0) | 75 | do { if (!IS_ERR((d)->pclk)) clk_disable((d)->pclk); } while (0) |
| 77 | 76 | ||
| 78 | #define amba_vcore_enable(d) \ | ||
| 79 | (IS_ERR((d)->vcore) ? 0 : regulator_enable((d)->vcore)) | ||
| 80 | |||
| 81 | #define amba_vcore_disable(d) \ | ||
| 82 | do { if (!IS_ERR((d)->vcore)) regulator_disable((d)->vcore); } while (0) | ||
| 83 | |||
| 84 | /* Some drivers don't use the struct amba_device */ | 77 | /* Some drivers don't use the struct amba_device */ |
| 85 | #define AMBA_CONFIG_BITS(a) (((a) >> 24) & 0xff) | 78 | #define AMBA_CONFIG_BITS(a) (((a) >> 24) & 0xff) |
| 86 | #define AMBA_REV_BITS(a) (((a) >> 20) & 0x0f) | 79 | #define AMBA_REV_BITS(a) (((a) >> 20) & 0x0f) |
diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h index b8c51124ed19..76dd1b199a1b 100644 --- a/include/linux/amba/pl022.h +++ b/include/linux/amba/pl022.h | |||
| @@ -25,6 +25,8 @@ | |||
| 25 | #ifndef _SSP_PL022_H | 25 | #ifndef _SSP_PL022_H |
| 26 | #define _SSP_PL022_H | 26 | #define _SSP_PL022_H |
| 27 | 27 | ||
| 28 | #include <linux/types.h> | ||
| 29 | |||
| 28 | /** | 30 | /** |
| 29 | * whether SSP is in loopback mode or not | 31 | * whether SSP is in loopback mode or not |
| 30 | */ | 32 | */ |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 606cf339bb56..2aa24664a5b5 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -426,14 +426,10 @@ struct request_queue { | |||
| 426 | (1 << QUEUE_FLAG_SAME_COMP) | \ | 426 | (1 << QUEUE_FLAG_SAME_COMP) | \ |
| 427 | (1 << QUEUE_FLAG_ADD_RANDOM)) | 427 | (1 << QUEUE_FLAG_ADD_RANDOM)) |
| 428 | 428 | ||
| 429 | static inline int queue_is_locked(struct request_queue *q) | 429 | static inline void queue_lockdep_assert_held(struct request_queue *q) |
| 430 | { | 430 | { |
| 431 | #ifdef CONFIG_SMP | 431 | if (q->queue_lock) |
| 432 | spinlock_t *lock = q->queue_lock; | 432 | lockdep_assert_held(q->queue_lock); |
| 433 | return lock && spin_is_locked(lock); | ||
| 434 | #else | ||
| 435 | return 1; | ||
| 436 | #endif | ||
| 437 | } | 433 | } |
| 438 | 434 | ||
| 439 | static inline void queue_flag_set_unlocked(unsigned int flag, | ||
