mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 20:21:06 +07:00
d95236782b
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license v2 0 as published by the free software foundation 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 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 23 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141901.115786599@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
41 lines
959 B
C
41 lines
959 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* include/linux/firmware-map.h:
|
|
* Copyright (C) 2008 SUSE LINUX Products GmbH
|
|
* by Bernhard Walle <bernhard.walle@gmx.de>
|
|
*/
|
|
#ifndef _LINUX_FIRMWARE_MAP_H
|
|
#define _LINUX_FIRMWARE_MAP_H
|
|
|
|
#include <linux/list.h>
|
|
|
|
/*
|
|
* provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled
|
|
*/
|
|
#ifdef CONFIG_FIRMWARE_MEMMAP
|
|
|
|
int firmware_map_add_early(u64 start, u64 end, const char *type);
|
|
int firmware_map_add_hotplug(u64 start, u64 end, const char *type);
|
|
int firmware_map_remove(u64 start, u64 end, const char *type);
|
|
|
|
#else /* CONFIG_FIRMWARE_MEMMAP */
|
|
|
|
static inline int firmware_map_add_early(u64 start, u64 end, const char *type)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int firmware_map_add_hotplug(u64 start, u64 end, const char *type)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int firmware_map_remove(u64 start, u64 end, const char *type)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif /* CONFIG_FIRMWARE_MEMMAP */
|
|
|
|
#endif /* _LINUX_FIRMWARE_MAP_H */
|