[U-Boot] [PATCH 28/82] x86: Don't export interrupt handlers with x86_64

Simon Glass sjg at chromium.org
Mon Sep 26 05:33:31 CEST 2016


We don't have a way of adjusting these at present so it is best to refuse to
export these functions. This can be implemented later if the API is required.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/_exports.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/_exports.h b/include/_exports.h
index 11beeb2..0b30c9e 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -13,7 +13,7 @@
 	EXPORT_FUNC(putc, void, putc, const char)
 	EXPORT_FUNC(puts, void, puts, const char *)
 	EXPORT_FUNC(printf, int, printf, const char*, ...)
-#if defined(CONFIG_X86) || defined(CONFIG_PPC)
+#if (defined(CONFIG_X86) && !defined(CONFIG_X86_64)) || defined(CONFIG_PPC)
 	EXPORT_FUNC(irq_install_handler, void, install_hdlr,
 		    int, interrupt_handler_t, void*)
 
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list