sparc64: prepare module_64.c for unification
authorSam Ravnborg <sam@ravnborg.org>
Fri, 26 Dec 2008 23:37:24 +0000 (15:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 23:37:24 +0000 (15:37 -0800)
commit627bf2f678ba7325461922af137ff5f20b6523eb
treec122deef6b73133c897c0104c5a0a1e776fb05ed
parentc45d1c209f7420a01afd1f82c08af8d681fd56b8
sparc64: prepare module_64.c for unification

o Introduce a helper function
o Combine sparc64 specific case values
o add ifdef's around sparc64 code snippets

Note: The ifdef around the BUG_ON is highly questionable
      but for now the safe approach was taken

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/module_64.c