.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* -*- linux-c -*- ------------------------------------------------------- * |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright (C) 1991, 1992 Linus Torvalds |
---|
4 | 5 | * Copyright 2007 rPath, Inc. - All Rights Reserved |
---|
5 | 6 | * Copyright 2009 Intel Corporation; author H. Peter Anvin |
---|
6 | | - * |
---|
7 | | - * This file is part of the Linux kernel, and is made available under |
---|
8 | | - * the terms of the GNU General Public License version 2. |
---|
9 | 7 | * |
---|
10 | 8 | * ----------------------------------------------------------------------- */ |
---|
11 | 9 | |
---|
.. | .. |
---|
30 | 28 | #include "cpuflags.h" |
---|
31 | 29 | |
---|
32 | 30 | /* Useful macros */ |
---|
33 | | -#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
---|
34 | | - |
---|
35 | 31 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) |
---|
36 | 32 | |
---|
37 | 33 | extern struct setup_header hdr; |
---|
.. | .. |
---|
309 | 305 | void __attribute__((noreturn)) die(void); |
---|
310 | 306 | |
---|
311 | 307 | /* memory.c */ |
---|
312 | | -int detect_memory(void); |
---|
| 308 | +void detect_memory(void); |
---|
313 | 309 | |
---|
314 | 310 | /* pm.c */ |
---|
315 | 311 | void __attribute__((noreturn)) go_to_protected_mode(void); |
---|