X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib%2Fgzip.c;h=cd8e9fea43dd6eb80f9256604cdf77b90e6b6e32;hb=eb796cbb69a39eb08b08e1715e21c8034cd349b7;hp=a83f4af08af27566d889f884fc8465fbe9681e63;hpb=88d52c6affa69971caad651e26dcac88a1484a4b;p=u-boot diff --git a/lib/gzip.c b/lib/gzip.c index a83f4af08a..cd8e9fea43 100644 --- a/lib/gzip.c +++ b/lib/gzip.c @@ -2,23 +2,7 @@ * (C) Copyright 2012 * Lei Wen , Marvell Inc. * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -41,7 +25,7 @@ static void *zalloc(void *x, unsigned items, unsigned size) size *= items; size = (size + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1); - p = malloc (size); + p = malloc_cache_aligned(size); return (p); }