All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: "Steven J. Magnani" <steve@digidescorp.com>
Cc: microblaze-uclinux@itee.uq.edu.au, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] microblaze: export assembly functions used by modules
Date: Fri, 30 Apr 2010 07:51:26 +0200	[thread overview]
Message-ID: <4BDA6FDE.20606@monstr.eu> (raw)
In-Reply-To: <1272391235-32036-1-git-send-email-steve@digidescorp.com>

Steven J. Magnani wrote:
> Modules that use copy_{to,from}_user(), memcpy(), and memset() fail to build
> in certain circumstances.
> 
> Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
> ---
> diff -uprN a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c
> --- a/arch/microblaze/kernel/microblaze_ksyms.c	2010-04-27 10:14:33.000000000 -0500
> +++ b/arch/microblaze/kernel/microblaze_ksyms.c	2010-04-27 12:52:08.000000000 -0500
> @@ -52,3 +52,13 @@ EXPORT_SYMBOL_GPL(_ebss);
>  extern void _mcount(void);
>  EXPORT_SYMBOL(_mcount);
>  #endif
> +
> +/*
> + * Assembly functions that may be used (directly or indirectly) by modules
> + */
> +EXPORT_SYMBOL(__copy_tofrom_user);
> +
> +#ifdef CONFIG_OPT_LIB_ASM
> +EXPORT_SYMBOL(memcpy);
> +EXPORT_SYMBOL(memmove);
> +#endif
> 

applied.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

      reply	other threads:[~2010-04-30 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27 18:00 [PATCH] microblaze: export assembly functions used by modules Steven J. Magnani
2010-04-30  5:51 ` Michal Simek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BDA6FDE.20606@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=microblaze-uclinux@itee.uq.edu.au \
    --cc=steve@digidescorp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.