aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/lib.mk
Commit message (Expand)AuthorAgeFilesLines
* kernel: split kmod-lib-zlib into two packages to keep it in sync with kernel ...Felix Fietkau2016-12-261-9/+17
* kernel: mark compression modules as hiddden to obsolete the compressor kconfi...Felix Fietkau2016-08-041-0/+3
* kernel: remove kernel module checks/dependencies for 3.14Felix Fietkau2015-04-111-1/+0
* kernel: drop obsolete linux 3.10 related dependencies/checksFelix Fietkau2015-04-101-1/+1
* kernel: add crc16 as boot module, it is required by ext4Felix Fietkau2015-03-291-1/+1
* kernel: remove obsolete kernel version dependenciesFelix Fietkau2015-03-191-1/+1
* modules: add lz4 compression supportJohn Crispin2015-01-281-0/+20
* kernel: fix dependency to xor-neon.koHauke Mehrtens2014-05-021-0/+7
* kernel: dont rely on library modules to be depended onJohn Crispin2013-10-081-0/+11
* kernel: lib-textsearch needs to be auto probed for amanda nat to workJohn Crispin2013-09-301-0/+1
* kernel: make most modules use AutoProbeJohn Crispin2013-09-171-12/+0
* kernel: be consistent with formatting styleLuka Perkov2013-07-261-2/+2
* kernel: move xor into its own packageJonas Gorski2013-07-181-0/+16
* kernel: split out lib-raid6Jonas Gorski2013-07-181-0/+16
* packages: clean up the package folderJohn Crispin2013-06-211-0/+165
/span> * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _XUTIL_ALLOCATE_H_ #define _XUTIL_ALLOCATE_H_ /** Allocate memory for a given type, and cast. */ #define ALLOCATE(ctype) (ctype *)allocate(sizeof(ctype)) /** Allocate memory for a given type, and cast. */ #define ALLOCATE_TYPE(ctype, type) (ctype *)allocate(sizeof(ctype)) extern void *allocate_type(int size, int type); extern void *allocate(int size); extern void deallocate(void *); extern void memzero(void *p, int size); typedef void AllocateFailedFn(int size, int type); extern AllocateFailedFn *allocate_failed_fn; #endif /* _XUTIL_ALLOCATE_H_ */