[LinuxPPS] 7 Jul 20:49 - include/linux/kallsyms.h must #include <linux/errno.h>

linuxpps: Adrian Bunk <> webmaster at enneenne.com
Tue Jul 17 19:45:09 CEST 2007


include/linux/kallsyms.h must #include errno.h>  
>   
This patch fixes the following 2.6.22 regression with CONFIG_KALLSYMS=n:  
  
<-- snip -->  
  
...  
CC arch/m32r/kernel/traps.o  
In file included from /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/m32r/kernel/traps.c:14:  
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h: In function 'lookup_symbol_name':  
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: 'ERANGE' undeclared (first use in this function)  
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: (Each undeclared identifier is reported only once  
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: for each function it appears in.)  
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h: In function 'lookup_symbol_attrs':  
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:71: error: 'ERANGE' undeclared (first use in this function)  
make[2]: *** [arch/m32r/kernel/traps.o] Error 1  
  
<-- snip -->  
  
Signed-off-by: Adrian Bunk   
Signed-off-by: Linus Torvalds   
  
include/linux/kallsyms.h

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=40e48eed84e65f909f5ac3d7a39547b70aacf90f



More information about the LinuxPPS mailing list