forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/x86/boot/boot.h
....@@ -1,11 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* -*- linux-c -*- ------------------------------------------------------- *
23 *
34 * Copyright (C) 1991, 1992 Linus Torvalds
45 * Copyright 2007 rPath, Inc. - All Rights Reserved
56 * 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.
97 *
108 * ----------------------------------------------------------------------- */
119
....@@ -30,8 +28,6 @@
3028 #include "cpuflags.h"
3129
3230 /* Useful macros */
33
-#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
34
-
3531 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
3632
3733 extern struct setup_header hdr;
....@@ -309,7 +305,7 @@
309305 void __attribute__((noreturn)) die(void);
310306
311307 /* memory.c */
312
-int detect_memory(void);
308
+void detect_memory(void);
313309
314310 /* pm.c */
315311 void __attribute__((noreturn)) go_to_protected_mode(void);