* [PATCH] mm: memcontrol Use #include <linux/uaccess.h>
@ 2014-10-01 15:44 Paul McQuade
2014-10-01 15:56 ` Michal Hocko
0 siblings, 1 reply; 2+ messages in thread
From: Paul McQuade @ 2014-10-01 15:44 UTC (permalink / raw)
To: paulmcquad; +Cc: linux-kernel, linux-mm, cgroups, mhocko, hannes
Remove asm headers for linux headers
Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
---
mm/memcontrol.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 085dc6d..51dbe80 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -56,14 +56,14 @@
#include <linux/oom.h>
#include <linux/lockdep.h>
#include <linux/file.h>
+#include <linux/uaccess.h>
+
#include "internal.h"
#include <net/sock.h>
#include <net/ip.h>
#include <net/tcp_memcontrol.h>
#include "slab.h"
-#include <asm/uaccess.h>
-
#include <trace/events/vmscan.h>
struct cgroup_subsys memory_cgrp_subsys __read_mostly;
--
1.9.1
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: memcontrol Use #include <linux/uaccess.h>
2014-10-01 15:44 [PATCH] mm: memcontrol Use #include <linux/uaccess.h> Paul McQuade
@ 2014-10-01 15:56 ` Michal Hocko
0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2014-10-01 15:56 UTC (permalink / raw)
To: Paul McQuade; +Cc: linux-kernel, linux-mm, cgroups, hannes
On Wed 01-10-14 16:44:56, Paul McQuade wrote:
> Remove asm headers for linux headers
I think we do not need this header at all these days. There are no
direct operations on user memory in memcontrol.c.
> Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
> ---
> mm/memcontrol.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index 085dc6d..51dbe80 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -56,14 +56,14 @@
> #include <linux/oom.h>
> #include <linux/lockdep.h>
> #include <linux/file.h>
> +#include <linux/uaccess.h>
> +
> #include "internal.h"
> #include <net/sock.h>
> #include <net/ip.h>
> #include <net/tcp_memcontrol.h>
> #include "slab.h"
>
> -#include <asm/uaccess.h>
> -
> #include <trace/events/vmscan.h>
>
> struct cgroup_subsys memory_cgrp_subsys __read_mostly;
> --
> 1.9.1
>
--
Michal Hocko
SUSE Labs
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-01 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 15:44 [PATCH] mm: memcontrol Use #include <linux/uaccess.h> Paul McQuade
2014-10-01 15:56 ` Michal Hocko
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).