- single KERNEL_VERSION(a,b,c) macro in platform.h
- rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
This commit is contained in:
		@@ -91,6 +91,13 @@
 | 
			
		||||
# include <netinet/in.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*----- Kernel versioning ------------------------------------*/
 | 
			
		||||
#ifdef __linux__
 | 
			
		||||
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
 | 
			
		||||
#else
 | 
			
		||||
#error implement KERNEL_VERSION for your platform
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* ---- miscellaneous --------------------------------------- */
 | 
			
		||||
/* NLS stuff */
 | 
			
		||||
/* THIS SHOULD BE CLEANED OUT OF THE TREE ENTIRELY */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user