mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
x86/boot: Use <xen/compiler.h>
... rather than opencoding locally. With this, defs.h is empty so delete it. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
62da0b364a
commit
ad783c71f7
3 files changed
+2
-29
No files matched your search
@@ -30,11 +30,11 @@ asm (
|
||||
" jmp cmdline_parse_early \n"
|
||||
);
|
||||
|
||||
#include <xen/compiler.h>
|
||||
#include <xen/kconfig.h>
|
||||
#include <xen/macros.h>
|
||||
#include <xen/types.h>
|
||||
|
||||
#include "defs.h"
|
||||
#include "video.h"
|
||||
|
||||
/* Keep in sync with trampoline.S:early_boot_opts label! */
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* max() was copied from xen/xen/include/xen/kernel.h.
|
||||
*/
|
||||
|
||||
#ifndef __BOOT_DEFS_H__
|
||||
#define __BOOT_DEFS_H__
|
||||
|
||||
#define __maybe_unused __attribute__((__unused__))
|
||||
#define __packed __attribute__((__packed__))
|
||||
|
||||
#endif /* __BOOT_DEFS_H__ */
|
||||
@@ -26,11 +26,10 @@ asm (
|
||||
" jmp reloc \n"
|
||||
);
|
||||
|
||||
#include <xen/compiler.h>
|
||||
#include <xen/macros.h>
|
||||
#include <xen/types.h>
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <xen/kconfig.h>
|
||||
#include <xen/multiboot.h>
|
||||
#include <xen/multiboot2.h>
|
||||
|
||||