aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Buchbinder <adam.buchbinder@gmail.com>2016-03-04 14:22:24 -0500
committerChris Metcalf <cmetcalf@mellanox.com>2016-03-04 14:44:57 -0500
commit35b90a2939a563df4b1f57f18dd925d6aa7cb38a (patch)
tree37552c7c89d0828573babff0e8cb6f189a257e2f
parent8c34d8d9bec0b2a38e8beab46a643e9b323c8310 (diff)
tile: Fix misspellings in comments.
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com> [plus "uninitalization"]
-rw-r--r--arch/tile/include/hv/drv_mpipe_intf.h26
-rw-r--r--arch/tile/kernel/kgdb.c8
-rw-r--r--arch/tile/kernel/pci_gx.c2
3 files changed, 18 insertions, 18 deletions
diff --git a/arch/tile/include/hv/drv_mpipe_intf.h b/arch/tile/include/hv/drv_mpipe_intf.h
index c97e416dd963..ff7f50f970a5 100644
--- a/arch/tile/include/hv/drv_mpipe_intf.h
+++ b/arch/tile/include/hv/drv_mpipe_intf.h
@@ -211,7 +211,7 @@ _gxio_mpipe_link_mac_t;
211 * request shared data permission on the same link. 211 * request shared data permission on the same link.
212 * 212 *
213 * No more than one of ::GXIO_MPIPE_LINK_DATA, ::GXIO_MPIPE_LINK_NO_DATA, 213 * No more than one of ::GXIO_MPIPE_LINK_DATA, ::GXIO_MPIPE_LINK_NO_DATA,
214 * or ::GXIO_MPIPE_LINK_EXCL_DATA may be specifed in a gxio_mpipe_link_open() 214 * or ::GXIO_MPIPE_LINK_EXCL_DATA may be specified in a gxio_mpipe_link_open()
215 * call. If none are specified, ::GXIO_MPIPE_LINK_DATA is assumed. 215 * call. If none are specified, ::GXIO_MPIPE_LINK_DATA is assumed.
216 */ 216 */
217#define GXIO_MPIPE_LINK_DATA 0x00000001UL 217#define GXIO_MPIPE_LINK_DATA 0x00000001UL
@@ -219,7 +219,7 @@ _gxio_mpipe_link_mac_t;
219/** Do not request data permission on the specified link. 219/** Do not request data permission on the specified link.
220 * 220 *
221 * No more than one of ::GXIO_MPIPE_LINK_DATA, ::GXIO_MPIPE_LINK_NO_DATA, 221 * No more than one of ::GXIO_MPIPE_LINK_DATA, ::GXIO_MPIPE_LINK_NO_DATA,
222 * or ::GXIO_MPIPE_LINK_EXCL_DATA may be specifed in a gxio_mpipe_link_open() 222 * or ::GXIO_MPIPE_LINK_EXCL_DATA may be specified in a gxio_mpipe_link_open()
223 * call. If none are specified, ::GXIO_MPIPE_LINK_DATA is assumed. 223 * call. If none are specified, ::GXIO_MPIPE_LINK_DATA is assumed.
224 */ 224 */
225#define GXIO_MPIPE_LINK_NO_DATA 0x00000002UL 225#define GXIO_MPIPE_LINK_NO_DATA 0x00000002UL
@@ -230,7 +230,7 @@ _gxio_mpipe_link_mac_t;
230 * data permission on it, this open will fail. 230 * data permission on it, this open will fail.
231 * 231 *
232 * No more than one of ::GXIO_MPIPE_LINK_DATA, ::GXIO_MPIPE_LINK_NO_DATA, 232 * No more than one of ::GXIO_MPIPE_LINK_DATA, ::GXIO_MPIPE_LINK_NO_DATA,
233 * or ::GXIO_MPIPE_LINK_EXCL_DATA may be specifed in a gxio_mpipe_link_open() 233 * or ::GXIO_MPIPE_LINK_EXCL_DATA may be specified in a gxio_mpipe_link_open()
234 * call. If none are specified, ::GXIO_MPIPE_LINK_DATA is assumed. 234 * call. If none are specified, ::GXIO_MPIPE_LINK_DATA is assumed.
235 */ 235 */
236#define GXIO_MPIPE_LINK_EXCL_DATA 0x00000004UL 236#define GXIO_MPIPE_LINK_EXCL_DATA 0x00000004UL
@@ -241,7 +241,7 @@ _gxio_mpipe_link_mac_t;
241 * permission on the same link. 241 * permission on the same link.
242 * 242 *
243 * No more than one of ::GXIO_MPIPE_LINK_STATS, ::GXIO_MPIPE_LINK_NO_STATS, 243 * No more than one of ::GXIO_MPIPE_LINK_STATS, ::GXIO_MPIPE_LINK_NO_STATS,
244 * or ::GXIO_MPIPE_LINK_EXCL_STATS may be specifed in a gxio_mpipe_link_open() 244 * or ::GXIO_MPIPE_LINK_EXCL_STATS may be specified in a gxio_mpipe_link_open()
245 * call. If none are specified, ::GXIO_MPIPE_LINK_STATS is assumed. 245 * call. If none are specified, ::GXIO_MPIPE_LINK_STATS is assumed.
246 */ 246 */
247#define GXIO_MPIPE_LINK_STATS 0x00000008UL 247#define GXIO_MPIPE_LINK_STATS 0x00000008UL
@@ -249,7 +249,7 @@ _gxio_mpipe_link_mac_t;
249/** Do not request stats permission on the specified link. 249/** Do not request stats permission on the specified link.
250 * 250 *
251 * No more than one of ::GXIO_MPIPE_LINK_STATS, ::GXIO_MPIPE_LINK_NO_STATS, 251 * No more than one of ::GXIO_MPIPE_LINK_STATS, ::GXIO_MPIPE_LINK_NO_STATS,
252 * or ::GXIO_MPIPE_LINK_EXCL_STATS may be specifed in a gxio_mpipe_link_open() 252 * or ::GXIO_MPIPE_LINK_EXCL_STATS may be specified in a gxio_mpipe_link_open()
253 * call. If none are specified, ::GXIO_MPIPE_LINK_STATS is assumed. 253 * call. If none are specified, ::GXIO_MPIPE_LINK_STATS is assumed.
254 */ 254 */
255#define GXIO_MPIPE_LINK_NO_STATS 0x00000010UL 255#define GXIO_MPIPE_LINK_NO_STATS 0x00000010UL
@@ -267,7 +267,7 @@ _gxio_mpipe_link_mac_t;
267 * reset by other statistics programs. 267 * reset by other statistics programs.
268 * 268 *
269 * No more than one of ::GXIO_MPIPE_LINK_STATS, ::GXIO_MPIPE_LINK_NO_STATS, 269 * No more than one of ::GXIO_MPIPE_LINK_STATS, ::GXIO_MPIPE_LINK_NO_STATS,
270 * or ::GXIO_MPIPE_LINK_EXCL_STATS may be specifed in a gxio_mpipe_link_open() 270 * or ::GXIO_MPIPE_LINK_EXCL_STATS may be specified in a gxio_mpipe_link_open()
271 * call. If none are specified, ::GXIO_MPIPE_LINK_STATS is assumed. 271 * call. If none are specified, ::GXIO_MPIPE_LINK_STATS is assumed.
272 */ 272 */
273#define GXIO_MPIPE_LINK_EXCL_STATS 0x00000020UL 273#define GXIO_MPIPE_LINK_EXCL_STATS 0x00000020UL
@@ -278,7 +278,7 @@ _gxio_mpipe_link_mac_t;
278 * permission on the same link. 278 * permission on the same link.
279 * 279 *
280 * No more than one of ::GXIO_MPIPE_LINK_CTL, ::GXIO_MPIPE_LINK_NO_CTL, 280 * No more than one of ::GXIO_MPIPE_LINK_CTL, ::GXIO_MPIPE_LINK_NO_CTL,
281 * or ::GXIO_MPIPE_LINK_EXCL_CTL may be specifed in a gxio_mpipe_link_open() 281 * or ::GXIO_MPIPE_LINK_EXCL_CTL may be specified in a gxio_mpipe_link_open()
282 * call. If none are specified, ::GXIO_MPIPE_LINK_CTL is assumed. 282 * call. If none are specified, ::GXIO_MPIPE_LINK_CTL is assumed.
283 */ 283 */
284#define GXIO_MPIPE_LINK_CTL 0x00000040UL 284#define GXIO_MPIPE_LINK_CTL 0x00000040UL
@@ -286,7 +286,7 @@ _gxio_mpipe_link_mac_t;
286/** Do not request control permission on the specified link. 286/** Do not request control permission on the specified link.
287 * 287 *
288 * No more than one of ::GXIO_MPIPE_LINK_CTL, ::GXIO_MPIPE_LINK_NO_CTL, 288 * No more than one of ::GXIO_MPIPE_LINK_CTL, ::GXIO_MPIPE_LINK_NO_CTL,
289 * or ::GXIO_MPIPE_LINK_EXCL_CTL may be specifed in a gxio_mpipe_link_open() 289 * or ::GXIO_MPIPE_LINK_EXCL_CTL may be specified in a gxio_mpipe_link_open()
290 * call. If none are specified, ::GXIO_MPIPE_LINK_CTL is assumed. 290 * call. If none are specified, ::GXIO_MPIPE_LINK_CTL is assumed.
291 */ 291 */
292#define GXIO_MPIPE_LINK_NO_CTL 0x00000080UL 292#define GXIO_MPIPE_LINK_NO_CTL 0x00000080UL
@@ -301,7 +301,7 @@ _gxio_mpipe_link_mac_t;
301 * it prevents programs like mpipe-link from configuring the link. 301 * it prevents programs like mpipe-link from configuring the link.
302 * 302 *
303 * No more than one of ::GXIO_MPIPE_LINK_CTL, ::GXIO_MPIPE_LINK_NO_CTL, 303 * No more than one of ::GXIO_MPIPE_LINK_CTL, ::GXIO_MPIPE_LINK_NO_CTL,
304 * or ::GXIO_MPIPE_LINK_EXCL_CTL may be specifed in a gxio_mpipe_link_open() 304 * or ::GXIO_MPIPE_LINK_EXCL_CTL may be specified in a gxio_mpipe_link_open()
305 * call. If none are specified, ::GXIO_MPIPE_LINK_CTL is assumed. 305 * call. If none are specified, ::GXIO_MPIPE_LINK_CTL is assumed.
306 */ 306 */
307#define GXIO_MPIPE_LINK_EXCL_CTL 0x00000100UL 307#define GXIO_MPIPE_LINK_EXCL_CTL 0x00000100UL
@@ -311,7 +311,7 @@ _gxio_mpipe_link_mac_t;
311 * change the desired state of the link when it is closed or the process 311 * change the desired state of the link when it is closed or the process
312 * exits. No more than one of ::GXIO_MPIPE_LINK_AUTO_UP, 312 * exits. No more than one of ::GXIO_MPIPE_LINK_AUTO_UP,
313 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN, ::GXIO_MPIPE_LINK_AUTO_DOWN, or 313 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN, ::GXIO_MPIPE_LINK_AUTO_DOWN, or
314 * ::GXIO_MPIPE_LINK_AUTO_NONE may be specifed in a gxio_mpipe_link_open() 314 * ::GXIO_MPIPE_LINK_AUTO_NONE may be specified in a gxio_mpipe_link_open()
315 * call. If none are specified, ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed. 315 * call. If none are specified, ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed.
316 */ 316 */
317#define GXIO_MPIPE_LINK_AUTO_UP 0x00000200UL 317#define GXIO_MPIPE_LINK_AUTO_UP 0x00000200UL
@@ -322,7 +322,7 @@ _gxio_mpipe_link_mac_t;
322 * open, set the desired state of the link to down. No more than one of 322 * open, set the desired state of the link to down. No more than one of
323 * ::GXIO_MPIPE_LINK_AUTO_UP, ::GXIO_MPIPE_LINK_AUTO_UPDOWN, 323 * ::GXIO_MPIPE_LINK_AUTO_UP, ::GXIO_MPIPE_LINK_AUTO_UPDOWN,
324 * ::GXIO_MPIPE_LINK_AUTO_DOWN, or ::GXIO_MPIPE_LINK_AUTO_NONE may be 324 * ::GXIO_MPIPE_LINK_AUTO_DOWN, or ::GXIO_MPIPE_LINK_AUTO_NONE may be
325 * specifed in a gxio_mpipe_link_open() call. If none are specified, 325 * specified in a gxio_mpipe_link_open() call. If none are specified,
326 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed. 326 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed.
327 */ 327 */
328#define GXIO_MPIPE_LINK_AUTO_UPDOWN 0x00000400UL 328#define GXIO_MPIPE_LINK_AUTO_UPDOWN 0x00000400UL
@@ -332,7 +332,7 @@ _gxio_mpipe_link_mac_t;
332 * process has the link open, set the desired state of the link to down. 332 * process has the link open, set the desired state of the link to down.
333 * No more than one of ::GXIO_MPIPE_LINK_AUTO_UP, 333 * No more than one of ::GXIO_MPIPE_LINK_AUTO_UP,
334 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN, ::GXIO_MPIPE_LINK_AUTO_DOWN, or 334 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN, ::GXIO_MPIPE_LINK_AUTO_DOWN, or
335 * ::GXIO_MPIPE_LINK_AUTO_NONE may be specifed in a gxio_mpipe_link_open() 335 * ::GXIO_MPIPE_LINK_AUTO_NONE may be specified in a gxio_mpipe_link_open()
336 * call. If none are specified, ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed. 336 * call. If none are specified, ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed.
337 */ 337 */
338#define GXIO_MPIPE_LINK_AUTO_DOWN 0x00000800UL 338#define GXIO_MPIPE_LINK_AUTO_DOWN 0x00000800UL
@@ -342,7 +342,7 @@ _gxio_mpipe_link_mac_t;
342 * closed or the process exits. No more than one of 342 * closed or the process exits. No more than one of
343 * ::GXIO_MPIPE_LINK_AUTO_UP, ::GXIO_MPIPE_LINK_AUTO_UPDOWN, 343 * ::GXIO_MPIPE_LINK_AUTO_UP, ::GXIO_MPIPE_LINK_AUTO_UPDOWN,
344 * ::GXIO_MPIPE_LINK_AUTO_DOWN, or ::GXIO_MPIPE_LINK_AUTO_NONE may be 344 * ::GXIO_MPIPE_LINK_AUTO_DOWN, or ::GXIO_MPIPE_LINK_AUTO_NONE may be
345 * specifed in a gxio_mpipe_link_open() call. If none are specified, 345 * specified in a gxio_mpipe_link_open() call. If none are specified,
346 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed. 346 * ::GXIO_MPIPE_LINK_AUTO_UPDOWN is assumed.
347 */ 347 */
348#define GXIO_MPIPE_LINK_AUTO_NONE 0x00001000UL 348#define GXIO_MPIPE_LINK_AUTO_NONE 0x00001000UL
diff --git a/arch/tile/kernel/kgdb.c b/arch/tile/kernel/kgdb.c
index 6ad99925900e..9247d6b562f4 100644
--- a/arch/tile/kernel/kgdb.c
+++ b/arch/tile/kernel/kgdb.c
@@ -433,9 +433,9 @@ int kgdb_arch_handle_exception(int vector, int signo, int err_code,
433struct kgdb_arch arch_kgdb_ops; 433struct kgdb_arch arch_kgdb_ops;
434 434
435/* 435/*
436 * kgdb_arch_init - Perform any architecture specific initalization. 436 * kgdb_arch_init - Perform any architecture specific initialization.
437 * 437 *
438 * This function will handle the initalization of any architecture 438 * This function will handle the initialization of any architecture
439 * specific callbacks. 439 * specific callbacks.
440 */ 440 */
441int kgdb_arch_init(void) 441int kgdb_arch_init(void)
@@ -447,9 +447,9 @@ int kgdb_arch_init(void)
447} 447}
448 448
449/* 449/*
450 * kgdb_arch_exit - Perform any architecture specific uninitalization. 450 * kgdb_arch_exit - Perform any architecture specific uninitialization.
451 * 451 *
452 * This function will handle the uninitalization of any architecture 452 * This function will handle the uninitialization of any architecture
453 * specific callbacks, for dynamic registration and unregistration. 453 * specific callbacks, for dynamic registration and unregistration.
454 */ 454 */
455void kgdb_arch_exit(void) 455void kgdb_arch_exit(void)
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
index 4c017d0d2de8..aa2b44cd8fd3 100644
--- a/arch/tile/kernel/pci_gx.c
+++ b/arch/tile/kernel/pci_gx.c
@@ -1326,7 +1326,7 @@ invalid_device:
1326 1326
1327 1327
1328/* 1328/*
1329 * See tile_cfg_read() for relevent comments. 1329 * See tile_cfg_read() for relevant comments.
1330 * Note that "val" is the value to write, not a pointer to that value. 1330 * Note that "val" is the value to write, not a pointer to that value.
1331 */ 1331 */
1332static int tile_cfg_write(struct pci_bus *bus, unsigned int devfn, int offset, 1332static int tile_cfg_write(struct pci_bus *bus, unsigned int devfn, int offset,