projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7268a
)
kernel.h: fix wrong usage of __ratelimit()
author
Yong Zhang
<
[email protected]
>
Tue, 6 Apr 2010 21:35:02 +0000
(14:35 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 7 Apr 2010 15:38:04 +0000
(08:38 -0700)
When __ratelimit() returns 1 this means that we can go ahead.
Signed-off-by: Yong Zhang <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Joe Perches <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/kernel.h
patch
|
blob
|
history
diff --git
a/include/linux/kernel.h
b/include/linux/kernel.h
index 7f07074633603463af3c80eb9c9334f31789f244..9365227dbaf6498f4b4318c7205e8e1a61103da5 100644
(file)
--- a/
include/linux/kernel.h
+++ b/
include/linux/kernel.h
@@
-426,7
+426,7
@@
static inline char *pack_hex_byte(char *buf, u8 byte)
.burst = DEFAULT_RATELIMIT_BURST, \
}; \
\
- if (
!__ratelimit(&_rs))
\
+ if (
__ratelimit(&_rs))
\
printk(fmt, ##__VA_ARGS__); \
})
#else