summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-14 14:18:53 +0200
committerRich Felker <dalias@libc.org>2020-08-14 22:05:16 -0400
commitbc0f46b1caff2a42ce6e54b31504eb9ecc789f2a (patch)
treecd9dbc358254628d0f8a7ba875dc5f12e6a4d1a1
parent08732d1226edb7a0033d08286acada2b4e800c78 (diff)
downloadlinux-bc0f46b1caff2a42ce6e54b31504eb9ecc789f2a.tar.gz
linux-bc0f46b1caff2a42ce6e54b31504eb9ecc789f2a.tar.xz
sh: unexport register_trapped_io and match_trapped_io_handler
Both functions are only used by compiled in core code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r--arch/sh/kernel/io_trapped.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/kernel/io_trapped.c b/arch/sh/kernel/io_trapped.c
index 037aab2708b7..004ad0130b10 100644
--- a/arch/sh/kernel/io_trapped.c
+++ b/arch/sh/kernel/io_trapped.c
@@ -102,7 +102,6 @@ int register_trapped_io(struct trapped_io *tiop)
pr_warn("unable to install trapped io filter\n");
return -1;
}
-EXPORT_SYMBOL_GPL(register_trapped_io);
void __iomem *match_trapped_io_handler(struct list_head *list,
unsigned long offset,
@@ -131,7 +130,6 @@ void __iomem *match_trapped_io_handler(struct list_head *list,
spin_unlock_irqrestore(&trapped_lock, flags);
return NULL;
}
-EXPORT_SYMBOL_GPL(match_trapped_io_handler);
static struct trapped_io *lookup_tiop(unsigned long address)
{