Re: [PATCH v2 1/2] Add notrace to lib/ucmpdi2.c

From: Palmer Dabbelt
Date: Thu Feb 08 2018 - 12:27:46 EST


On Tue, 30 Jan 2018 14:42:01 PST (-0800), antonynpavlov@xxxxxxxxx wrote:
From: Palmer Dabbelt <palmer@xxxxxxxxxx>

As part of the MIPS conversion to use the generic GCC library routines,
Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This
patch rectifies the problem.

CC: Matt Redfearn <matt.redfearn@xxxxxxxx>
CC: Antony Pavlov <antonynpavlov@xxxxxxxxx>
Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxx>
---
lib/ucmpdi2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ucmpdi2.c b/lib/ucmpdi2.c
index 25ca2d4c1e19..597998169a96 100644
--- a/lib/ucmpdi2.c
+++ b/lib/ucmpdi2.c
@@ -17,7 +17,7 @@
#include <linux/module.h>
#include <linux/libgcc.h>

-word_type __ucmpdi2(unsigned long long a, unsigned long long b)
+word_type notrace __ucmpdi2(unsigned long long a, unsigned long long b)
{
const DWunion au = {.ll = a};
const DWunion bu = {.ll = b};

Thanks for submitting this, I've gotten quite a bit behind due to FOSDEM.