Re: [PATCH 2/2]: sparc64: Add Niagara2 RNG driver.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Tuesday, June 3, 2008 - 3:52 pm

From: Sam Ravnborg <sam@ravnborg.org>
Date: Sat, 17 May 2008 08:54:37 +0200


Thanks I've fixed this.


".text" is used consistently for this in the first 5 assembler files
I tossed into my editor (arch/x86/kernel/head_{32,64},
arch/x86/kernel/entry_{32,64}.S, arch/powerpc/kernel/head_64.S)
I don't see any value in using the expanded version, especially is
"aw" is not the default on some platform for some reason, that
detail is hidden in the assembler's implementation of ".text"


I simply didn't know they existed and were usable. :-)
I've changed the assembler code to use them, thanks.

Longer term I'll need to define __ALIGN et al. on sparc
so that a more appropriate fill constant is used.  It
should be a NOP in sections that should contain instructions
and 0x90 is not a NOP on sparc :-)

But it's harmless to use what's there now, so there is no
need for me to define a specific __ALIGN before using
ENTRY and ENDPROC.

Thanks for your feedback.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2]: sparc64: Add Niagara2 RNG driver., David Miller, (Fri May 16, 4:53 pm)
Re: [PATCH 2/2]: sparc64: Add Niagara2 RNG driver., Sam Ravnborg, (Fri May 16, 11:54 pm)
Re: [PATCH 2/2]: sparc64: Add Niagara2 RNG driver., David Miller, (Tue Jun 3, 3:52 pm)