Changeset 695 for GPL/trunk/include/linux
- Timestamp:
- Aug 21, 2021, 3:35:34 AM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-next merged: 691-694
- Property svn:mergeinfo changed
-
GPL/trunk/include/linux/kmod.h
r32 r695 3 3 #ifndef _LINUX_KMOD_H 4 4 #define _LINUX_KMOD_H 5 #include <asm/errno.h> 6 static inline int request_module(const char *name, ...) { return -ENOSYS; } 5 7 6 8 #endif /* _LINUX_KMOD_H */ -
GPL/trunk/include/linux/mod_devicetable.h
r679 r695 12 12 }; 13 13 14 #define ACPI_ID_LEN 9 15 14 16 #endif /* _LINUX_MOD_DEVICETABLE_H */ -
GPL/trunk/include/linux/moduleparam.h
r679 r695 62 62 ulong, charp, bool or invbool, or XXX if you define param_get_XXX, 63 63 param_set_XXX and param_check_XXX. */ 64 #define module_param_named(name, value, type, perm) \ 65 param_check_##type(name, &(value)); \ 66 module_param_call(name, param_set_##type, param_get_##type, &value, perm) 64 #define module_param_named(name, value, type, perm) 67 65 68 66 #ifndef TARGET_OS2 -
GPL/trunk/include/linux/rwsem.h
r679 r695 14 14 #define up_read(x) up(x) 15 15 #define up_write(x) up(x) 16 #define downgrade_write(a) 16 17 17 18 static inline int down_write_trylock(struct rw_semaphore *sem) {return 0;} -
GPL/trunk/include/linux/slab.h
r679 r695 106 106 } 107 107 108 /** 109 * krealloc_array - reallocate memory for an array. 110 * @p: pointer to the memory chunk to reallocate 111 * @new_n: new number of elements to alloc 112 * @new_size: new size of a single member of the array 113 * @flags: the type of memory to allocate (see kmalloc) 114 */ 115 static __must_check inline void * 116 krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t flags) 117 { 118 // size_t bytes; 119 120 // if (check_mul_overflow(new_n, new_size, &bytes)) 121 // return NULL; 122 123 return krealloc(p, new_n*new_size, flags); 124 } 125 108 126 #define kmalloc_node_track_caller(size, flags, node) \ 109 127 kmalloc_track_caller(size, flags)
Note:
See TracChangeset
for help on using the changeset viewer.