All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: David Howells <dhowells@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-arch@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] Make most arch asm/module.h files use asm-generic/module.h
Date: Wed, 18 Jul 2012 09:56:47 -0400	[thread overview]
Message-ID: <201207180956.49573.vapier@gentoo.org> (raw)
In-Reply-To: <32350.1342615619@warthog.procyon.org.uk>

[-- Attachment #1: Type: Text/Plain, Size: 788 bytes --]

On Wednesday 18 July 2012 08:46:59 David Howells wrote:
> --- a/arch/blackfin/Kconfig
> +++ b/arch/blackfin/Kconfig
> @@ -40,6 +40,7 @@ config BLACKFIN
>  	select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
>  	select GENERIC_SMP_IDLE_THREAD
>  	select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
> +	select HAVE_MOD_ARCH_SPECIFIC
> 
>  config GENERIC_CSUM
>  	def_bool y
> --- a/arch/blackfin/include/asm/module.h
> +++ b/arch/blackfin/include/asm/module.h
> @@ -7,9 +7,7 @@
>  #ifndef _ASM_BFIN_MODULE_H
>  #define _ASM_BFIN_MODULE_H
> 
> -#define Elf_Shdr        Elf32_Shdr
> -#define Elf_Sym         Elf32_Sym
> -#define Elf_Ehdr        Elf32_Ehdr
> +#include <asm-generic/module.h>
> 
>  struct mod_arch_specific {
>  	Elf_Shdr	*text_l1;

looks sane to me
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      parent reply	other threads:[~2012-07-18 13:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 12:46 [PATCH] Make most arch asm/module.h files use asm-generic/module.h David Howells
2012-07-18 13:20 ` Arnd Bergmann
2012-07-18 13:33   ` David Howells
2012-07-18 14:21   ` Ralf Baechle
2012-07-18 13:24 ` David Howells
2012-07-18 13:41   ` Sam Ravnborg
2012-07-19  1:45   ` Rusty Russell
2012-07-19  1:45     ` Rusty Russell
2012-07-19  6:23     ` Paul Mundt
2012-07-19 11:53       ` David Howells
2012-07-18 13:56 ` Mike Frysinger [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=201207180956.49573.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=arnd@arndb.de \
    --cc=dhowells@redhat.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=ralf@linux-mips.org \
    --cc=rusty@rustcorp.com.au \
    /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.