On Wed, May 21, 2014 at 12:10:45PM +0100, James Hogan wrote:
On 20/05/14 15:47, Andreas Herrmann wrote:
From: David Daney david.da...@cavium.com
This returns the CPUNum from the low order Ebase bits.
Signed-off-by: David Daney david.da...@cavium.com
Signed-off-by: Andreas Herrmann
On 22/05/14 17:13, Andreas Herrmann wrote:
On Wed, May 21, 2014 at 12:10:45PM +0100, James Hogan wrote:
On 20/05/14 15:47, Andreas Herrmann wrote:
+static inline unsigned int mips_cpunum(void)
+{
+ return read_c0_ebase() 0x3ff; /* Low 10 bits of ebase. */
+}
If this is going to go in
On 20/05/14 15:47, Andreas Herrmann wrote:
From: David Daney david.da...@cavium.com
This returns the CPUNum from the low order Ebase bits.
Signed-off-by: David Daney david.da...@cavium.com
Signed-off-by: Andreas Herrmann andreas.herrm...@caviumnetworks.com
---
From: David Daney david.da...@cavium.com
This returns the CPUNum from the low order Ebase bits.
Signed-off-by: David Daney david.da...@cavium.com
Signed-off-by: Andreas Herrmann andreas.herrm...@caviumnetworks.com
---
arch/mips/include/asm/mipsregs.h |5 +
1 file changed, 5