This patch will fix the arguments to the architecture sys_clone() function to match the asm-generic/syscalls.h prototype. In the same go remove the architecture specific prototype for the same function. The sys_clone() function is only called from assembly, hence the argument types were not having any affect. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			473 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			473 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * syscalls.h - Linux syscall interfaces (arch-specific)
 | 
						|
 *
 | 
						|
 * Copyright (c) 2008 Jaswinder Singh
 | 
						|
 *
 | 
						|
 * This file is released under the GPLv2.
 | 
						|
 * See the file COPYING for more details.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _ASM_AVR32_SYSCALLS_H
 | 
						|
#define _ASM_AVR32_SYSCALLS_H
 | 
						|
 | 
						|
#include <linux/compiler.h>
 | 
						|
#include <linux/linkage.h>
 | 
						|
#include <linux/types.h>
 | 
						|
#include <linux/signal.h>
 | 
						|
 | 
						|
/* mm/cache.c */
 | 
						|
asmlinkage int sys_cacheflush(int, void __user *, size_t);
 | 
						|
 | 
						|
#endif /* _ASM_AVR32_SYSCALLS_H */
 |