MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
[linux-2.6/linux-mips.git] / arch / frv / include / asm / setup.h
blobafd787ceede6687b131cd073c0ae315a31108d07
1 /* setup.h: setup stuff
3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #ifndef _ASM_SETUP_H
13 #define _ASM_SETUP_H
15 #define COMMAND_LINE_SIZE 512
17 #ifdef __KERNEL__
19 #include <linux/init.h>
21 #ifndef __ASSEMBLY__
23 #ifdef CONFIG_MMU
24 extern unsigned long __initdata num_mappedpages;
25 #endif
27 #endif /* !__ASSEMBLY__ */
29 #endif /* __KERNEL__ */
31 #endif /* _ASM_SETUP_H */