X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flinux%2Flinkage.h;h=7435fcd0262bd4770159e1bd3ebf6d5a9444a54f;hb=41bbe4dd49a3825e024e874ee19c6527860a3f16;hp=7b749bbda708a8b6f1edcbbcd0becf21e566d2d7;hpb=8fa3d2b8161bb73b759c9db5c811c885ca5ec60c;p=u-boot diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 7b749bbda7..7435fcd026 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -3,30 +3,13 @@ * * Copyright (c) 2005-2007 Analog Devices 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., 51 Franklin St, Fifth Floor, Boston, - * MA 02110-1301 USA + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_LINKAGE_H #define _LINUX_LINKAGE_H #include -#include #ifdef __cplusplus #define CPP_ASMLINKAGE extern "C" @@ -65,6 +48,10 @@ .globl SYMBOL_NAME(name); \ LENTRY(name) +#define WEAK(name) \ + .weak SYMBOL_NAME(name); \ + LENTRY(name) + #ifndef END #define END(name) \ .size name, .-name