Commit 5d7ec3d8d3f09293824d1486b33cbe578e896996
Committed by
Bin Meng
1 parent
fac3e796b9
Exists in
v2017.01-smarct4x
and in
25 other branches
x86: Don't export interrupt handlers with x86_64
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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/_exports.h
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | EXPORT_FUNC(putc, void, putc, const char) |
14 | 14 | EXPORT_FUNC(puts, void, puts, const char *) |
15 | 15 | EXPORT_FUNC(printf, int, printf, const char*, ...) |
16 | -#if defined(CONFIG_X86) || defined(CONFIG_PPC) | |
16 | +#if (defined(CONFIG_X86) && !defined(CONFIG_X86_64)) || defined(CONFIG_PPC) | |
17 | 17 | EXPORT_FUNC(irq_install_handler, void, install_hdlr, |
18 | 18 | int, interrupt_handler_t, void*) |
19 | 19 |