1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23ed8d115SDavid Howells /* 3e1858b2aSRichard Kuo * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 43ed8d115SDavid Howells * 53ed8d115SDavid Howells * This program is free software; you can redistribute it and/or modify 63ed8d115SDavid Howells * it under the terms of the GNU General Public License version 2 and 73ed8d115SDavid Howells * only version 2 as published by the Free Software Foundation. 83ed8d115SDavid Howells * 93ed8d115SDavid Howells * This program is distributed in the hope that it will be useful, 103ed8d115SDavid Howells * but WITHOUT ANY WARRANTY; without even the implied warranty of 113ed8d115SDavid Howells * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 123ed8d115SDavid Howells * GNU General Public License for more details. 133ed8d115SDavid Howells * 143ed8d115SDavid Howells * You should have received a copy of the GNU General Public License 153ed8d115SDavid Howells * along with this program; if not, write to the Free Software 163ed8d115SDavid Howells * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 173ed8d115SDavid Howells * 02110-1301, USA. 183ed8d115SDavid Howells */ 193ed8d115SDavid Howells 203ed8d115SDavid Howells #ifndef _ASM_SETUP_H 213ed8d115SDavid Howells #define _ASM_SETUP_H 223ed8d115SDavid Howells 238d7e6a1dSChen Gang #ifdef __KERNEL__ 243ed8d115SDavid Howells #include <linux/init.h> 258d7e6a1dSChen Gang #else 268d7e6a1dSChen Gang #define __init 278d7e6a1dSChen Gang #endif 288d7e6a1dSChen Gang 293ed8d115SDavid Howells #include <asm-generic/setup.h> 303ed8d115SDavid Howells 313ed8d115SDavid Howells extern char external_cmdline_buffer; 323ed8d115SDavid Howells 333ed8d115SDavid Howells void __init setup_arch_memory(void); 343ed8d115SDavid Howells 353ed8d115SDavid Howells #endif 36