diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc/unistd.h | 2 | ||||
-rw-r--r-- | include/asm-sparc64/unistd.h | 2 | ||||
-rw-r--r-- | include/net/irda/irda.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-sparc/unistd.h b/include/asm-sparc/unistd.h index 0615d601a7c6..64ec640a40ee 100644 --- a/include/asm-sparc/unistd.h +++ b/include/asm-sparc/unistd.h | |||
@@ -305,7 +305,7 @@ | |||
305 | #define __NR_mknodat 286 | 305 | #define __NR_mknodat 286 |
306 | #define __NR_fchownat 287 | 306 | #define __NR_fchownat 287 |
307 | #define __NR_futimesat 288 | 307 | #define __NR_futimesat 288 |
308 | #define __NR_newfstatat 289 | 308 | #define __NR_fstatat64 289 |
309 | #define __NR_unlinkat 290 | 309 | #define __NR_unlinkat 290 |
310 | #define __NR_renameat 291 | 310 | #define __NR_renameat 291 |
311 | #define __NR_linkat 292 | 311 | #define __NR_linkat 292 |
diff --git a/include/asm-sparc64/unistd.h b/include/asm-sparc64/unistd.h index c58ba8a096cf..a284986b1541 100644 --- a/include/asm-sparc64/unistd.h +++ b/include/asm-sparc64/unistd.h | |||
@@ -307,7 +307,7 @@ | |||
307 | #define __NR_mknodat 286 | 307 | #define __NR_mknodat 286 |
308 | #define __NR_fchownat 287 | 308 | #define __NR_fchownat 287 |
309 | #define __NR_futimesat 288 | 309 | #define __NR_futimesat 288 |
310 | #define __NR_newfstatat 289 | 310 | #define __NR_fstatat64 289 |
311 | #define __NR_unlinkat 290 | 311 | #define __NR_unlinkat 290 |
312 | #define __NR_renameat 291 | 312 | #define __NR_renameat 291 |
313 | #define __NR_linkat 292 | 313 | #define __NR_linkat 292 |
diff --git a/include/net/irda/irda.h b/include/net/irda/irda.h index 05a840837fe7..1880e46ecc9b 100644 --- a/include/net/irda/irda.h +++ b/include/net/irda/irda.h | |||
@@ -82,9 +82,9 @@ do { if(!(expr)) { \ | |||
82 | #define IRDA_ASSERT_LABEL(label) | 82 | #define IRDA_ASSERT_LABEL(label) |
83 | #endif /* CONFIG_IRDA_DEBUG */ | 83 | #endif /* CONFIG_IRDA_DEBUG */ |
84 | 84 | ||
85 | #define IRDA_WARNING(args...) printk(KERN_WARNING args) | 85 | #define IRDA_WARNING(args...) do { if (net_ratelimit()) printk(KERN_WARNING args); } while (0) |
86 | #define IRDA_MESSAGE(args...) printk(KERN_INFO args) | 86 | #define IRDA_MESSAGE(args...) do { if (net_ratelimit()) printk(KERN_INFO args); } while (0) |
87 | #define IRDA_ERROR(args...) printk(KERN_ERR args) | 87 | #define IRDA_ERROR(args...) do { if (net_ratelimit()) printk(KERN_ERR args); } while (0) |
88 | 88 | ||
89 | /* | 89 | /* |
90 | * Magic numbers used by Linux-IrDA. Random numbers which must be unique to | 90 | * Magic numbers used by Linux-IrDA. Random numbers which must be unique to |