Re: [PATCH] mm: memcontrol Use #include <linux/uaccess.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]