mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	mm/thrash.c: quiet sparse noise
Quiet the following sparse noise: warning: symbol 'swap_token_memcg' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Rik van Riel <riel@redhat.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									2d7d3eb2ba
								
							
						
					
					
						commit
						22d5368a08
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -29,7 +29,7 @@ | ||||||
| 
 | 
 | ||||||
| static DEFINE_SPINLOCK(swap_token_lock); | static DEFINE_SPINLOCK(swap_token_lock); | ||||||
| struct mm_struct *swap_token_mm; | struct mm_struct *swap_token_mm; | ||||||
| struct mem_cgroup *swap_token_memcg; | static struct mem_cgroup *swap_token_memcg; | ||||||
| 
 | 
 | ||||||
| #ifdef CONFIG_CGROUP_MEM_RES_CTLR | #ifdef CONFIG_CGROUP_MEM_RES_CTLR | ||||||
| static struct mem_cgroup *swap_token_memcg_from_mm(struct mm_struct *mm) | static struct mem_cgroup *swap_token_memcg_from_mm(struct mm_struct *mm) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 H Hartley Sweeten
						H Hartley Sweeten