* [PATCH] Fixing compilation error from file include/linux/page_idle.h
@ 2016-05-25 10:11 shakilk1729
2016-05-25 16:12 ` Shi, Yang
0 siblings, 1 reply; 3+ messages in thread
From: shakilk1729 @ 2016-05-25 10:11 UTC (permalink / raw)
To: akpm, vdavydov, yang.shi, andreslc, linux-kernel, bforce1729; +Cc: shakilk1729
From: shakil khan <shakilk1729@gmail.com>
---
include/linux/page_idle.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h
index 569c3a1..fec4027 100644
--- a/include/linux/page_idle.h
+++ b/include/linux/page_idle.h
@@ -48,7 +48,7 @@ static inline bool page_is_young(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return false;
return test_bit(PAGE_EXT_YOUNG, &page_ext->flags);
@@ -58,7 +58,7 @@ static inline void set_page_young(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return;
set_bit(PAGE_EXT_YOUNG, &page_ext->flags);
@@ -68,7 +68,7 @@ static inline bool test_and_clear_page_young(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return false;
return test_and_clear_bit(PAGE_EXT_YOUNG, &page_ext->flags);
@@ -78,7 +78,7 @@ static inline bool page_is_idle(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return false;
return test_bit(PAGE_EXT_IDLE, &page_ext->flags);
@@ -88,7 +88,7 @@ static inline void set_page_idle(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return;
set_bit(PAGE_EXT_IDLE, &page_ext->flags);
@@ -98,7 +98,7 @@ static inline void clear_page_idle(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return;
clear_bit(PAGE_EXT_IDLE, &page_ext->flags);
--
2.7.4
Signed-off-by: Shakil A Khan <shakilk1729@gmail.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Fixing compilation error from file include/linux/page_idle.h
2016-05-25 10:11 [PATCH] Fixing compilation error from file include/linux/page_idle.h shakilk1729
@ 2016-05-25 16:12 ` Shi, Yang
0 siblings, 0 replies; 3+ messages in thread
From: Shi, Yang @ 2016-05-25 16:12 UTC (permalink / raw)
To: shakilk1729, akpm, vdavydov, andreslc, linux-kernel, bforce1729
On 5/25/2016 3:11 AM, shakilk1729@gmail.com wrote:
> From: shakil khan <shakilk1729@gmail.com>
Thanks for the patch, this issue had been fixed by Arnd.
Yang
>
> ---
> include/linux/page_idle.h | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h
> index 569c3a1..fec4027 100644
> --- a/include/linux/page_idle.h
> +++ b/include/linux/page_idle.h
> @@ -48,7 +48,7 @@ static inline bool page_is_young(struct page *page)
> {
> struct page_ext *page_ext = lookup_page_ext(page);
>
> - if (unlikely(!page_ext)
> + if (unlikely(!page_ext))
> return false;
>
> return test_bit(PAGE_EXT_YOUNG, &page_ext->flags);
> @@ -58,7 +58,7 @@ static inline void set_page_young(struct page *page)
> {
> struct page_ext *page_ext = lookup_page_ext(page);
>
> - if (unlikely(!page_ext)
> + if (unlikely(!page_ext))
> return;
>
> set_bit(PAGE_EXT_YOUNG, &page_ext->flags);
> @@ -68,7 +68,7 @@ static inline bool test_and_clear_page_young(struct page *page)
> {
> struct page_ext *page_ext = lookup_page_ext(page);
>
> - if (unlikely(!page_ext)
> + if (unlikely(!page_ext))
> return false;
>
> return test_and_clear_bit(PAGE_EXT_YOUNG, &page_ext->flags);
> @@ -78,7 +78,7 @@ static inline bool page_is_idle(struct page *page)
> {
> struct page_ext *page_ext = lookup_page_ext(page);
>
> - if (unlikely(!page_ext)
> + if (unlikely(!page_ext))
> return false;
>
> return test_bit(PAGE_EXT_IDLE, &page_ext->flags);
> @@ -88,7 +88,7 @@ static inline void set_page_idle(struct page *page)
> {
> struct page_ext *page_ext = lookup_page_ext(page);
>
> - if (unlikely(!page_ext)
> + if (unlikely(!page_ext))
> return;
>
> set_bit(PAGE_EXT_IDLE, &page_ext->flags);
> @@ -98,7 +98,7 @@ static inline void clear_page_idle(struct page *page)
> {
> struct page_ext *page_ext = lookup_page_ext(page);
>
> - if (unlikely(!page_ext)
> + if (unlikely(!page_ext))
> return;
>
> clear_bit(PAGE_EXT_IDLE, &page_ext->flags);
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Fixing compilation error from file include/linux/page_idle.h
@ 2016-05-25 9:51 shakilk1729
0 siblings, 0 replies; 3+ messages in thread
From: shakilk1729 @ 2016-05-25 9:51 UTC (permalink / raw)
To: akpm, vdavydov, yang.shi, andreslc, linux-kernel; +Cc: shakilk1729
From: shakil khan <shakilk1729@gmail.com>
---
include/linux/page_idle.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h
index 569c3a1..fec4027 100644
--- a/include/linux/page_idle.h
+++ b/include/linux/page_idle.h
@@ -48,7 +48,7 @@ static inline bool page_is_young(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return false;
return test_bit(PAGE_EXT_YOUNG, &page_ext->flags);
@@ -58,7 +58,7 @@ static inline void set_page_young(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return;
set_bit(PAGE_EXT_YOUNG, &page_ext->flags);
@@ -68,7 +68,7 @@ static inline bool test_and_clear_page_young(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return false;
return test_and_clear_bit(PAGE_EXT_YOUNG, &page_ext->flags);
@@ -78,7 +78,7 @@ static inline bool page_is_idle(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return false;
return test_bit(PAGE_EXT_IDLE, &page_ext->flags);
@@ -88,7 +88,7 @@ static inline void set_page_idle(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return;
set_bit(PAGE_EXT_IDLE, &page_ext->flags);
@@ -98,7 +98,7 @@ static inline void clear_page_idle(struct page *page)
{
struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)
+ if (unlikely(!page_ext))
return;
clear_bit(PAGE_EXT_IDLE, &page_ext->flags);
--
2.7.4
Signed-off-by: Shakil A Khan <shakilk1729@gmail.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-25 16:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 10:11 [PATCH] Fixing compilation error from file include/linux/page_idle.h shakilk1729
2016-05-25 16:12 ` Shi, Yang
-- strict thread matches above, loose matches on Subject: below --
2016-05-25 9:51 shakilk1729
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).