This was entirely automated, using the script by Al:
  PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
  sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
        $(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)
to do the replacement at the end of the merge window.
Requested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
		
	
			
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * arch/sh/kernel/sh_ksyms_64.c
 | |
|  *
 | |
|  * Copyright (C) 2000, 2001  Paolo Alberelli
 | |
|  *
 | |
|  * This file is subject to the terms and conditions of the GNU General Public
 | |
|  * License.  See the file "COPYING" in the main directory of this archive
 | |
|  * for more details.
 | |
|  */
 | |
| #include <linux/rwsem.h>
 | |
| #include <linux/module.h>
 | |
| #include <linux/smp.h>
 | |
| #include <linux/user.h>
 | |
| #include <linux/elfcore.h>
 | |
| #include <linux/sched.h>
 | |
| #include <linux/in6.h>
 | |
| #include <linux/interrupt.h>
 | |
| #include <linux/screen_info.h>
 | |
| #include <asm/cacheflush.h>
 | |
| #include <asm/processor.h>
 | |
| #include <linux/uaccess.h>
 | |
| #include <asm/checksum.h>
 | |
| #include <asm/io.h>
 | |
| #include <asm/delay.h>
 | |
| #include <asm/irq.h>
 | |
| 
 | |
| EXPORT_SYMBOL(__put_user_asm_b);
 | |
| EXPORT_SYMBOL(__put_user_asm_w);
 | |
| EXPORT_SYMBOL(__put_user_asm_l);
 | |
| EXPORT_SYMBOL(__put_user_asm_q);
 | |
| EXPORT_SYMBOL(__get_user_asm_b);
 | |
| EXPORT_SYMBOL(__get_user_asm_w);
 | |
| EXPORT_SYMBOL(__get_user_asm_l);
 | |
| EXPORT_SYMBOL(__get_user_asm_q);
 | |
| EXPORT_SYMBOL(__clear_user);
 | |
| EXPORT_SYMBOL(copy_page);
 | |
| EXPORT_SYMBOL(__copy_user);
 | |
| EXPORT_SYMBOL(empty_zero_page);
 | |
| EXPORT_SYMBOL(memcpy);
 | |
| EXPORT_SYMBOL(memset);
 | |
| EXPORT_SYMBOL(__udelay);
 | |
| EXPORT_SYMBOL(__ndelay);
 | |
| EXPORT_SYMBOL(__const_udelay);
 | |
| EXPORT_SYMBOL(strlen);
 | |
| EXPORT_SYMBOL(strcpy);
 | |
| 
 | |
| /* Ugh.  These come in from libgcc.a at link time. */
 | |
| #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
 | |
| 
 | |
| DECLARE_EXPORT(__sdivsi3);
 | |
| DECLARE_EXPORT(__sdivsi3_1);
 | |
| DECLARE_EXPORT(__sdivsi3_2);
 | |
| DECLARE_EXPORT(__udivsi3);
 | |
| DECLARE_EXPORT(__div_table);
 |