aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/uaccess.h6
-rw-r--r--include/asm-arm26/uaccess.h10
-rw-r--r--include/asm-ia64/kexec.h2
-rw-r--r--include/asm-ia64/pal.h14
-rw-r--r--include/linux/device.h4
-rw-r--r--include/linux/ext4_fs_extents.h4
-rw-r--r--include/linux/log2.h2
-rw-r--r--include/linux/moduleparam.h2
-rw-r--r--include/linux/seqlock.h2
9 files changed, 23 insertions, 23 deletions
diff --git a/include/asm-arm/uaccess.h b/include/asm-arm/uaccess.h
index c92df958802e..4c1a3fa9f259 100644
--- a/include/asm-arm/uaccess.h
+++ b/include/asm-arm/uaccess.h
@@ -109,7 +109,7 @@ extern int __get_user_4(void *);
109 109
110#define get_user(x,p) \ 110#define get_user(x,p) \
111 ({ \ 111 ({ \
112 const register typeof(*(p)) __user *__p asm("r0") = (p);\ 112 register const typeof(*(p)) __user *__p asm("r0") = (p);\
113 register unsigned long __r2 asm("r2"); \ 113 register unsigned long __r2 asm("r2"); \
114 register int __e asm("r0"); \ 114 register int __e asm("r0"); \
115 switch (sizeof(*(__p))) { \ 115 switch (sizeof(*(__p))) { \
@@ -143,8 +143,8 @@ extern int __put_user_8(void *, unsigned long long);
143 143
144#define put_user(x,p) \ 144#define put_user(x,p) \
145 ({ \ 145 ({ \
146 const register typeof(*(p)) __r2 asm("r2") = (x); \ 146 register const typeof(*(p)) __r2 asm("r2") = (x); \
147 const register typeof(*(p)) __user *__p asm("r0") = (p);\ 147 register const typeof(*(p)) __user *__p asm("r0") = (p);\
148 register int __e asm("r0"); \ 148 register int __e asm("r0"); \
149 switch (sizeof(*(__p))) { \ 149 switch (sizeof(*(__p))) { \
150 case 1: \ 150 case 1: \
diff --git a/include/asm-arm26/uaccess.h b/include/asm-arm26/uaccess.h
index 3f2dd1093e58..d64ed84cb2d3 100644
--- a/include/asm-arm26/uaccess.h
+++ b/include/asm-arm26/uaccess.h
@@ -74,7 +74,7 @@ extern int __get_user_bad(void);
74 74
75#define get_user(x,p) \ 75#define get_user(x,p) \
76 ({ \ 76 ({ \
77 const register typeof(*(p)) *__p asm("r0") = (p); \ 77 register const typeof(*(p)) *__p asm("r0") = (p); \
78 register typeof(*(p)) __r1 asm("r1"); \ 78 register typeof(*(p)) __r1 asm("r1"); \
79 register int __e asm("r0"); \ 79 register int __e asm("r0"); \
80 switch (sizeof(*(p))) { \ 80 switch (sizeof(*(p))) { \
@@ -139,8 +139,8 @@ extern int __put_user_bad(void);
139 139
140#define put_user(x,p) \ 140#define put_user(x,p) \
141 ({ \ 141 ({ \
142 const register typeof(*(p)) __r1 asm("r1") = (x); \ 142 register const typeof(*(p)) __r1 asm("r1") = (x); \
143 const register typeof(*(p)) *__p asm("r0") = (p); \ 143 register const typeof(*(p)) *__p asm("r0") = (p); \
144 register int __e asm("r0"); \ 144 register int __e asm("r0"); \
145 switch (sizeof(*(__p))) { \ 145 switch (sizeof(*(__p))) { \
146 case 1: \ 146 case 1: \
@@ -170,8 +170,8 @@ extern int __put_user_bad(void);
170 170
171#define put_user(x,p) \ 171#define put_user(x,p) \
172 ({ \ 172 ({ \
173 const register typeof(*(p)) __r1 asm("r1") = (x); \ 173 register const typeof(*(p)) __r1 asm("r1") = (x); \
174 const register typeof(*(p)) *__p asm("r0") = (p); \ 174 register const typeof(*(p)) *__p asm("r0") = (p); \
175 register int __e asm("r0"); \ 175 register int __e asm("r0"); \
176 switch (sizeof(*(p))) { \ 176 switch (sizeof(*(p))) { \
177 case 1: \ 177 case 1: \
diff --git a/include/asm-ia64/kexec.h b/include/asm-ia64/kexec.h
index 01c36b004747..f2ad469a6ddf 100644
--- a/include/asm-ia64/kexec.h
+++ b/include/asm-ia64/kexec.h
@@ -23,7 +23,7 @@
23 23
24extern struct kimage *ia64_kimage; 24extern struct kimage *ia64_kimage;
25DECLARE_PER_CPU(u64, ia64_mca_pal_base); 25DECLARE_PER_CPU(u64, ia64_mca_pal_base);
26const extern unsigned int relocate_new_kernel_size; 26extern const unsigned int relocate_new_kernel_size;
27extern void relocate_new_kernel(unsigned long, unsigned long, 27extern void relocate_new_kernel(unsigned long, unsigned long,
28 struct ia64_boot_param *, unsigned long); 28 struct ia64_boot_param *, unsigned long);
29static inline void 29static inline void
diff --git a/include/asm-ia64/pal.h b/include/asm-ia64/pal.h
index bc768153f3c9..e43021a99a20 100644
--- a/include/asm-ia64/pal.h
+++ b/include/asm-ia64/pal.h
@@ -32,7 +32,7 @@
32#define PAL_CACHE_FLUSH 1 /* flush i/d cache */ 32#define PAL_CACHE_FLUSH 1 /* flush i/d cache */
33#define PAL_CACHE_INFO 2 /* get detailed i/d cache info */ 33#define PAL_CACHE_INFO 2 /* get detailed i/d cache info */
34#define PAL_CACHE_INIT 3 /* initialize i/d cache */ 34#define PAL_CACHE_INIT 3 /* initialize i/d cache */
35#define PAL_CACHE_SUMMARY 4 /* get summary of cache heirarchy */ 35#define PAL_CACHE_SUMMARY 4 /* get summary of cache hierarchy */
36#define PAL_MEM_ATTRIB 5 /* list supported memory attributes */ 36#define PAL_MEM_ATTRIB 5 /* list supported memory attributes */
37#define PAL_PTCE_INFO 6 /* purge TLB info */ 37#define PAL_PTCE_INFO 6 /* purge TLB info */
38#define PAL_VM_INFO 7 /* return supported virtual memory features */ 38#define PAL_VM_INFO 7 /* return supported virtual memory features */
@@ -113,14 +113,14 @@ typedef s64 pal_status_t;
113 */ 113 */
114#define PAL_STATUS_REQUIRES_MEMORY (-9) /* Call requires PAL memory buffer */ 114#define PAL_STATUS_REQUIRES_MEMORY (-9) /* Call requires PAL memory buffer */
115 115
116/* Processor cache level in the heirarchy */ 116/* Processor cache level in the hierarchy */
117typedef u64 pal_cache_level_t; 117typedef u64 pal_cache_level_t;
118#define PAL_CACHE_LEVEL_L0 0 /* L0 */ 118#define PAL_CACHE_LEVEL_L0 0 /* L0 */
119#define PAL_CACHE_LEVEL_L1 1 /* L1 */ 119#define PAL_CACHE_LEVEL_L1 1 /* L1 */
120#define PAL_CACHE_LEVEL_L2 2 /* L2 */ 120#define PAL_CACHE_LEVEL_L2 2 /* L2 */
121 121
122 122
123/* Processor cache type at a particular level in the heirarchy */ 123/* Processor cache type at a particular level in the hierarchy */
124 124
125typedef u64 pal_cache_type_t; 125typedef u64 pal_cache_type_t;
126#define PAL_CACHE_TYPE_INSTRUCTION 1 /* Instruction cache */ 126#define PAL_CACHE_TYPE_INSTRUCTION 1 /* Instruction cache */
@@ -272,14 +272,14 @@ typedef struct pal_cache_protection_info_s {
272#define PAL_CACHE_PROT_METHOD_ECC 3 /* ECC protection */ 272#define PAL_CACHE_PROT_METHOD_ECC 3 /* ECC protection */
273 273
274 274
275/* Processor cache line identification in the heirarchy */ 275/* Processor cache line identification in the hierarchy */
276typedef union pal_cache_line_id_u { 276typedef union pal_cache_line_id_u {
277 u64 pclid_data; 277 u64 pclid_data;
278 struct { 278 struct {
279 u64 cache_type : 8, /* 7-0 cache type */ 279 u64 cache_type : 8, /* 7-0 cache type */
280 level : 8, /* 15-8 level of the 280 level : 8, /* 15-8 level of the
281 * cache in the 281 * cache in the
282 * heirarchy. 282 * hierarchy.
283 */ 283 */
284 way : 8, /* 23-16 way in the set 284 way : 8, /* 23-16 way in the set
285 */ 285 */
@@ -292,7 +292,7 @@ typedef union pal_cache_line_id_u {
292 u64 cache_type : 8, /* 7-0 cache type */ 292 u64 cache_type : 8, /* 7-0 cache type */
293 level : 8, /* 15-8 level of the 293 level : 8, /* 15-8 level of the
294 * cache in the 294 * cache in the
295 * heirarchy. 295 * hierarchy.
296 */ 296 */
297 way : 8, /* 23-16 way in the set 297 way : 8, /* 23-16 way in the set
298 */ 298 */
@@ -978,7 +978,7 @@ ia64_pal_cache_read (pal_cache_line_id_u_t line_id, u64 physical_addr)
978 return iprv.status; 978 return iprv.status;
979} 979}
980 980
981/* Return summary information about the heirarchy of caches controlled by the processor */ 981/* Return summary information about the hierarchy of caches controlled by the processor */
982static inline s64 982static inline s64
983ia64_pal_cache_summary (u64 *cache_levels, u64 *unique_caches) 983ia64_pal_cache_summary (u64 *cache_levels, u64 *unique_caches)
984{ 984{
diff --git a/include/linux/device.h b/include/linux/device.h
index d5b1b7b3558e..d1a3a27c3988 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -102,7 +102,7 @@ extern int bus_unregister_notifier(struct bus_type *bus,
102#define BUS_NOTIFY_UNBIND_DRIVER 0x00000004 /* driver about to be 102#define BUS_NOTIFY_UNBIND_DRIVER 0x00000004 /* driver about to be
103 unbound */ 103 unbound */
104 104
105/* driverfs interface for exporting bus attributes */ 105/* sysfs interface for exporting bus attributes */
106 106
107struct bus_attribute { 107struct bus_attribute {
108 struct attribute attr; 108 struct attribute attr;
@@ -147,7 +147,7 @@ extern void put_driver(struct device_driver * drv);
147extern struct device_driver *driver_find(const char *name, struct bus_type *bus); 147extern struct device_driver *driver_find(const char *name, struct bus_type *bus);
148extern int driver_probe_done(void); 148extern int driver_probe_done(void);
149 149
150/* driverfs interface for exporting driver attributes */ 150/* sysfs interface for exporting driver attributes */
151 151
152struct driver_attribute { 152struct driver_attribute {
153 struct attribute attr; 153 struct attribute attr;
diff --git a/include/linux/ext4_fs_extents.h b/include/linux/ext4_fs_extents.h
index a41cc24568ca..7eb1d73fc5d1 100644
--- a/include/linux/ext4_fs_extents.h
+++ b/include/linux/ext4_fs_extents.h
@@ -22,12 +22,12 @@
22#include <linux/ext4_fs.h> 22#include <linux/ext4_fs.h>
23 23
24/* 24/*
25 * With AGRESSIVE_TEST defined, the capacity of index/leaf blocks 25 * With AGGRESSIVE_TEST defined, the capacity of index/leaf blocks
26 * becomes very small, so index split, in-depth growing and 26 * becomes very small, so index split, in-depth growing and
27 * other hard changes happen much more often. 27 * other hard changes happen much more often.
28 * This is for debug purposes only. 28 * This is for debug purposes only.
29 */ 29 */
30#define AGRESSIVE_TEST_ 30#define AGGRESSIVE_TEST_
31 31
32/* 32/*
33 * With EXTENTS_STATS defined, the number of blocks and extents 33 * With EXTENTS_STATS defined, the number of blocks and extents
diff --git a/include/linux/log2.h b/include/linux/log2.h
index 99922bedfcc9..57e641e19a81 100644
--- a/include/linux/log2.h
+++ b/include/linux/log2.h
@@ -152,7 +152,7 @@ unsigned long __roundup_pow_of_two(unsigned long n)
152 * roundup_pow_of_two - round the given value up to nearest power of two 152 * roundup_pow_of_two - round the given value up to nearest power of two
153 * @n - parameter 153 * @n - parameter
154 * 154 *
155 * round the given balue up to the nearest power of two 155 * round the given value up to the nearest power of two
156 * - the result is undefined when n == 0 156 * - the result is undefined when n == 0
157 * - this can be used to initialise global variables from constant data 157 * - this can be used to initialise global variables from constant data
158 */ 158 */
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index b26b2e5fedc7..c83588c8d08b 100644
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -59,7 +59,7 @@ struct kparam_array
59}; 59};
60 60
61/* This is the fundamental function for registering boot/module 61/* This is the fundamental function for registering boot/module
62 parameters. perm sets the visibility in driverfs: 000 means it's 62 parameters. perm sets the visibility in sysfs: 000 means it's
63 not there, read bits mean it's readable, write bits mean it's 63 not there, read bits mean it's readable, write bits mean it's
64 writable. */ 64 writable. */
65#define __module_param_call(prefix, name, set, get, arg, perm) \ 65#define __module_param_call(prefix, name, set, get, arg, perm) \
diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index 6b0648cfdffc..52c9eb9b6df2 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -2,7 +2,7 @@
2#define __LINUX_SEQLOCK_H 2#define __LINUX_SEQLOCK_H
3/* 3/*
4 * Reader/writer consistent mechanism without starving writers. This type of 4 * Reader/writer consistent mechanism without starving writers. This type of
5 * lock for data where the reader wants a consitent set of information 5 * lock for data where the reader wants a consistent set of information
6 * and is willing to retry if the information changes. Readers never 6 * and is willing to retry if the information changes. Readers never
7 * block but they may have to retry if a writer is in 7 * block but they may have to retry if a writer is in
8 * progress. Writers do not wait for readers. 8 * progress. Writers do not wait for readers.