diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2014-05-29 21:39:18 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2014-10-09 13:18:01 +0200 |
commit | fad33860ae86b78e8fedd2f8832f379e80909c83 (patch) | |
tree | aebd4b0a47047e407256100557f38d4a0fee5702 /c/src/lib/libbsp/sparc/leon3/startup | |
parent | SPARC BSPs: added CPU aware interrupt ctrl operations (diff) | |
download | rtems-fad33860ae86b78e8fedd2f8832f379e80909c83.tar.bz2 |
LEON3 SMP: support static interrupt affinity
Changed LEON3_irq-mp to const also.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/startup')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c b/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c index 567c971d2e..45ac92be0b 100644 --- a/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c +++ b/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c @@ -24,7 +24,7 @@ /* Irq used by shared memory driver and for inter-processor interrupts. * Can be overridden by being defined in the application. */ -unsigned char LEON3_mp_irq __attribute__((weak)) = 14; +const unsigned char LEON3_mp_irq __attribute__((weak)) = 14; #if !defined(__leon__) || defined(RTEMS_PARAVIRT) uint32_t _CPU_SMP_Get_current_processor( void ) |