Message ID | 20231127102523.28003-22-jgross@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Mini-OS: hide mini-os internal symbols | expand |
Juergen Gross, le lun. 27 nov. 2023 11:25:12 +0100, a ecrit: > Add the needed instances of EXPORT_SYMBOL() to time.c. > > Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> > --- > V3: > - new patch > --- > arch/arm/time.c | 1 + > arch/x86/time.c | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/time.c b/arch/arm/time.c > index a088981e..3483511a 100644 > --- a/arch/arm/time.c > +++ b/arch/arm/time.c > @@ -83,6 +83,7 @@ int gettimeofday(struct timeval *tv, void *tz) > > return 0; > } > +EXPORT_SYMBOL(gettimeofday); > > /* Set the timer and mask. */ > void write_timer_ctl(uint32_t value) { > diff --git a/arch/x86/time.c b/arch/x86/time.c > index 8077c80c..332c0260 100644 > --- a/arch/x86/time.c > +++ b/arch/x86/time.c > @@ -204,7 +204,7 @@ int gettimeofday(struct timeval *tv, void *tz) > > return 0; > } > - > +EXPORT_SYMBOL(gettimeofday); > > void block_domain(s_time_t until) > { > -- > 2.35.3 >
diff --git a/arch/arm/time.c b/arch/arm/time.c index a088981e..3483511a 100644 --- a/arch/arm/time.c +++ b/arch/arm/time.c @@ -83,6 +83,7 @@ int gettimeofday(struct timeval *tv, void *tz) return 0; } +EXPORT_SYMBOL(gettimeofday); /* Set the timer and mask. */ void write_timer_ctl(uint32_t value) { diff --git a/arch/x86/time.c b/arch/x86/time.c index 8077c80c..332c0260 100644 --- a/arch/x86/time.c +++ b/arch/x86/time.c @@ -204,7 +204,7 @@ int gettimeofday(struct timeval *tv, void *tz) return 0; } - +EXPORT_SYMBOL(gettimeofday); void block_domain(s_time_t until) {
Add the needed instances of EXPORT_SYMBOL() to time.c. Signed-off-by: Juergen Gross <jgross@suse.com> --- V3: - new patch --- arch/arm/time.c | 1 + arch/x86/time.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)