X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fmcount_64.S;h=7b0d3da52fb42f288a947f1befe8886319b37ec5;hb=5de0a8c0c240338cb5b73363b0673c6aa804bb1c;hp=61924222a9e1ceb4e582b961a0568a1301dc4b6b;hpb=26124f4b773078bce9d240be8c3f87217a90e80b;p=cascardo%2Flinux.git diff --git a/arch/x86/kernel/mcount_64.S b/arch/x86/kernel/mcount_64.S index 61924222a9e1..7b0d3da52fb4 100644 --- a/arch/x86/kernel/mcount_64.S +++ b/arch/x86/kernel/mcount_64.S @@ -7,6 +7,7 @@ #include #include #include +#include .code64 @@ -17,8 +18,10 @@ #ifdef CC_USING_FENTRY # define function_hook __fentry__ +EXPORT_SYMBOL(__fentry__) #else # define function_hook mcount +EXPORT_SYMBOL(mcount) #endif /* All cases save the original rbp (8 bytes) */