mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
With the SGI SN2 machvec removal most of the indirections are unused now, so remove them. This includes the entire removal of the mmio read*/write* macros as the generic ones are identical to the asm-generic/io.h version. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lkml.kernel.org/r/20190813072514.23299-17-hch@lst.de Signed-off-by: Tony Luck <tony.luck@intel.com>
11 lines
336 B
C
11 lines
336 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#include <asm/iommu.h>
|
|
#include <asm/machvec.h>
|
|
|
|
#define MACHVEC_HELPER(name) \
|
|
struct ia64_machine_vector machvec_##name __attribute__ ((unused, __section__ (".machvec"))) \
|
|
= MACHVEC_INIT(name);
|
|
|
|
#define MACHVEC_DEFINE(name) MACHVEC_HELPER(name)
|
|
|
|
MACHVEC_DEFINE(MACHVEC_PLATFORM_NAME)
|