Pete Popov [Thu, 14 Jul 2005 17:47:57 +0000 (17:47 +0000)]
Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Jul 2005 15:57:16 +0000 (15:57 +0000)]
More AP / SP bits for the 34K, the Malta bits and things. Still wants
a little polishing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Jul 2005 13:25:05 +0000 (13:25 +0000)]
Cleanups.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Jul 2005 09:42:32 +0000 (09:42 +0000)]
Move Origin crapola into a machine-specific header file.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Jul 2005 07:39:46 +0000 (07:39 +0000)]
Prevent gcc from optimizing a few functions away completly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Jul 2005 07:34:18 +0000 (07:34 +0000)]
Detect the MIPS R2 vectored interrupt, external interrupt controller
options and the precense of the MT ASE.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Jul 2005 07:30:27 +0000 (07:30 +0000)]
Macros to access the register of processors using the new MIPS
Multithreading ASE, also know as MT ASE.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/include/asm-mips/mipsmtregs.h b/include/asm-mips/mipsmtregs.h
new file mode 100644
Pete Popov [Thu, 14 Jul 2005 00:17:05 +0000 (00:17 +0000)]
Fix the fixup_bigphys_addr compile problem.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Pete Popov [Thu, 14 Jul 2005 00:16:06 +0000 (00:16 +0000)]
Removed __ilog2 since it's no longer needed and conflicts with the
generic one.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 19:47:28 +0000 (19:47 +0000)]
A few more macros to access MIPS R2 architecture registers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 19:22:45 +0000 (19:22 +0000)]
New kernel option nowait allows disabling the use of the wait instruction.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 18:20:33 +0000 (18:20 +0000)]
Use an irq_enable_hazard hazard barrier in unmask_mips_irq. This
hasn't been an actual bug, so it's more a change to be 100% compliant
with the requirements of the architecture spec. Similar fix to
mask_mips_irq where there was a slightly less theoretical chance of
getting hit.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 17:58:20 +0000 (17:58 +0000)]
Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 17:56:24 +0000 (17:56 +0000)]
Add a few more SHN_MIPS_* symbols from glibc.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 11:48:45 +0000 (11:48 +0000)]
Add inotify syscalls for MIPS.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Jul 2005 11:48:45 +0000 (11:48 +0000)]
Mark a few variables __read_mostly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 18:35:38 +0000 (18:35 +0000)]
MIPS R2 instruction hazard handling.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 16:12:05 +0000 (16:12 +0000)]
Detect the 34K.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 14:56:53 +0000 (14:56 +0000)]
Generate code for MIPS32 / MIPS64 Release 2 if configured for one of
these architectures.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 14:54:31 +0000 (14:54 +0000)]
Use ei / di MIPS32 R2 instructions if available.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 14:51:22 +0000 (14:51 +0000)]
MIPS 32/64 R2 config option.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 12:50:30 +0000 (12:50 +0000)]
Use clz / dclz on MIPS32 / MIPS64 processors.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 12 Jul 2005 09:18:53 +0000 (09:18 +0000)]
In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES
resources. We tried previous but ran into problems ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 11 Jul 2005 20:45:51 +0000 (20:45 +0000)]
Use Kconfig.preempt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 11 Jul 2005 20:45:51 +0000 (20:45 +0000)]
Define kmap_atomic_pfn() for MIPS.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 11 Jul 2005 20:45:51 +0000 (20:45 +0000)]
Setup_frame is now returning a success value.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 11 Jul 2005 11:53:44 +0000 (11:53 +0000)]
Temporary hack for Qemu and MIPSsim until they get a proper ELF loader.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 11 Jul 2005 10:37:51 +0000 (10:37 +0000)]
Fix endianess bugs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Fri, 8 Jul 2005 20:10:17 +0000 (20:10 +0000)]
Date: Fri Jul 8 20:10:17 2005 +0000
Those literals are long.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Thiemo Seufer [Fri, 8 Jul 2005 09:17:05 +0000 (09:17 +0000)]
Protect noat assembly with .set push/pop and make it somewhat readable.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Thiemo Seufer [Fri, 8 Jul 2005 08:03:48 +0000 (08:03 +0000)]
Fix get_saved_sp for 64bit address space. Simplify set_save_sp.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Thiemo Seufer [Fri, 8 Jul 2005 07:36:51 +0000 (07:36 +0000)]
IP30 Identification.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Thiemo Seufer [Thu, 7 Jul 2005 11:42:49 +0000 (11:42 +0000)]
... and it isn't a canonicalized triplet but just the n-plet used to
configure gcc.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Thiemo Seufer [Thu, 7 Jul 2005 11:18:49 +0000 (11:18 +0000)]
Grep deesn't like shell-style matching...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Thiemo Seufer [Thu, 7 Jul 2005 09:19:31 +0000 (09:19 +0000)]
Hack to make compiles for the other endianness easier.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Ralf Baechle [Wed, 6 Jul 2005 12:08:11 +0000 (12:08 +0000)]
Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 6 Jul 2005 10:43:52 +0000 (10:43 +0000)]
Don't redeclare ll_local_timer_interrupt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Thiemo Seufer [Sun, 3 Jul 2005 19:16:13 +0000 (19:16 +0000)]
Brian Murphy says:
this fixes Lasat pci to work with multi-function devices by assigning
the correct values based on pin number (instead of ignoring them).
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Thiemo Seufer [Sun, 3 Jul 2005 19:12:05 +0000 (19:12 +0000)]
Code cleanup, thanks Brian Murphy.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Maciej W. Rozycki [Fri, 1 Jul 2005 16:10:40 +0000 (16:10 +0000)]
Use physical addresses at the interface level, letting drivers remap
them as appropriate.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 30 Jun 2005 16:10:04 +0000 (16:10 +0000)]
Prevent 64-bit constants from being cropped to 32 bits when used in C code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 30 Jun 2005 10:51:01 +0000 (10:51 +0000)]
Avoid tlbw* hazards for the R4600/R4700/R5000.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 30 Jun 2005 10:48:40 +0000 (10:48 +0000)]
Inline ioremap() calls for constant addresses that map to KSEG1.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 30 Jun 2005 09:42:00 +0000 (09:42 +0000)]
Avoid defining variables in the middle of a block which breaks older
compilers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 29 Jun 2005 13:35:19 +0000 (13:35 +0000)]
More .set to keep 32-bit processors happy.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Wed, 29 Jun 2005 10:43:51 +0000 (10:43 +0000)]
Fix the diagnostic dump for the XTLB refill handler.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Wed, 29 Jun 2005 10:24:21 +0000 (10:24 +0000)]
Fix a diagnostic message.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 27 Jun 2005 22:07:43 +0000 (22:07 +0000)]
Conversion to plat_setup() for TX4927 also.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 27 Jun 2005 08:34:27 +0000 (08:34 +0000)]
Using get_nasid() to find the console node will blow up nicely if
called on a another node than the console node, so use the master_nasid
instead and in the unlikely case that one isn't initialized yet, fall
back to get_nasid().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 23 Jun 2005 15:57:15 +0000 (15:57 +0000)]
Always use ".set mips3" rather than select between "mips2" or "mips3"
for assembling ll/sc sequences to avoid problems with 64-bit
configurations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Wed, 22 Jun 2005 20:58:45 +0000 (20:58 +0000)]
Actual handlers for bus errors for Pmax and 3min.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c
new file mode 100644
Maciej W. Rozycki [Wed, 22 Jun 2005 20:56:26 +0000 (20:56 +0000)]
System-specific handling of bus errors for DECstation variations
supporting parity errors only for memory (Pmax/3min/Maxine).
Fixes for resources decoded by the KN04/KN05 MB ASIC. Additional
clean-ups for the ECC handler.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Wed, 22 Jun 2005 20:43:29 +0000 (20:43 +0000)]
Use correct names for bits in the R3k cp0.status register.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 21 Jun 2005 13:52:33 +0000 (13:52 +0000)]
Get the thing to compile again ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 20 Jun 2005 13:09:49 +0000 (13:09 +0000)]
Use macros for the RM7k cp0.config bits instead of magic numbers.
Minor clean-ups.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:50:55 +0000 (20:50 +0000)]
Fix types for firmware arguments. Don't define unneeded messages.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:49:03 +0000 (20:49 +0000)]
Remove left-over unused bits.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:39:12 +0000 (20:39 +0000)]
Mark __die() "noreturn" for real.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:37:40 +0000 (20:37 +0000)]
Fix function types to ones appropriate for initcalls.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:35:48 +0000 (20:35 +0000)]
GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:30:54 +0000 (20:30 +0000)]
Deal with the bloody KSEG vs CKSEG horror...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Thu, 16 Jun 2005 20:23:20 +0000 (20:23 +0000)]
There is NO port I/O space on the DECstation. Minor clean-ups.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 15 Jun 2005 13:00:12 +0000 (13:00 +0000)]
Redo RM9000 workaround which along with other DSP ASE changes was
causing some headache for debuggers knowing about signal frames.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Tue, 14 Jun 2005 17:35:03 +0000 (17:35 +0000)]
Enable a suitable ISA for the assembler around ll/sc so that code
builds even for processors that don't support the instructions.
Plus minor formatting fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 13 Jun 2005 20:24:00 +0000 (20:24 +0000)]
Optimize R3k TLB Load/Store/Modified handlers, by scheduling
delay slots properly and avoiding an unnecessary jump to a jump.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 13 Jun 2005 20:12:01 +0000 (20:12 +0000)]
Fill R3k load delay slots properly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 13 Jun 2005 20:09:32 +0000 (20:09 +0000)]
Only dump instructions actually emitted.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 13 Jun 2005 19:55:42 +0000 (19:55 +0000)]
dec_esp: Use physical addresses
These should really be addresses obtained with ioremap() or some
bus-specific backend, but for now...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 13 Jun 2005 19:53:38 +0000 (19:53 +0000)]
This interrupt is *always* handled -- MIPS_BE_DISCARD just means
no further action wanted.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 13 Jun 2005 19:50:42 +0000 (19:50 +0000)]
Fix dependencies for DECstation framebuffers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 7 Jun 2005 11:39:57 +0000 (11:39 +0000)]
Remove dead code which was causing warnings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Mon, 6 Jun 2005 16:40:58 +0000 (16:40 +0000)]
For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style)
TLB, so no need to set it separately for each implementation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Steven J. Hill [Sun, 5 Jun 2005 03:57:20 +0000 (03:57 +0000)]
The DbAu1500 board also support big endian. Gee, imagine that.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 1 Jun 2005 12:18:30 +0000 (12:18 +0000)]
Fix build with CONFIG_PRINTK disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 31 May 2005 11:49:19 +0000 (11:49 +0000)]
Support the MIPS32 / MIPS64 DSP ASE.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 25 May 2005 13:32:49 +0000 (13:32 +0000)]
64-bit fixes for Alchemy code ;)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 19 May 2005 17:05:09 +0000 (17:05 +0000)]
Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 19 May 2005 14:45:12 +0000 (14:45 +0000)]
When building for Atlas, Malta or SEAD convert the kernel to srecs by
default.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)]
Fix tasteless #ifdef mess in audit_arch(), minor cleanups.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)]
Bugs are now a configuration option.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)]
On MIPS the struct sigev preamble is only 8 bytes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 11 May 2005 12:02:48 +0000 (12:02 +0000)]
Now that a struct is the only member left in struct
mips_fpu_emulator_stats cleanup that unnecessary nesting of structs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 11 May 2005 11:00:36 +0000 (11:00 +0000)]
Get rid of the eir struct mips_fpu_emulator_private member. It's
never initialized been initialized anywhere, just saved to and
restored from signal frames so nonsense anyway. As neat side effect
of being shared between all processors it was also abusable as a
nice covert channel between processes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 9 May 2005 13:16:07 +0000 (13:16 +0000)]
__compute_return_epc() uses CFC1 instruction which might result in a
coprocessor unusable exception since the process can lose its fpu
context by preemption.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki [Fri, 6 May 2005 16:28:55 +0000 (16:28 +0000)]
sys_nfsservctl() needs translation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Fri, 6 May 2005 14:31:13 +0000 (14:31 +0000)]
No point in checking cpu_has_tlb before we've computed the CPU options.
So for now we just unconditionally set the option - Linux wouldn't
work without a TLB anyway.
Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that
back.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 5 May 2005 16:45:59 +0000 (16:45 +0000)]
Cleanup decoding of MIPSxx config registers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 28 Apr 2005 13:39:10 +0000 (13:39 +0000)]
Fix preemption and SMP problems in the FP emulator code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Thiemo Seufer [Thu, 28 Apr 2005 08:52:57 +0000 (08:52 +0000)]
Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Thiemo Seufer [Mon, 25 Apr 2005 16:36:23 +0000 (16:36 +0000)]
Better interface to run uncached cache setup code.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Pete Popov [Thu, 21 Apr 2005 05:31:59 +0000 (05:31 +0000)]
* use 'unsigned long' as address supplied to au_write[bwl]()
* remove two already unused and commented structures
* added an ULL suffix to several address constants that use bits 35-32
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Tue, 19 Apr 2005 12:26:59 +0000 (12:26 +0000)]
Fix D-cache aliasing problem in the PIO IDE driver potencially resulting
in the kernel or userspace seeing stale data.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 18 Apr 2005 14:54:43 +0000 (14:54 +0000)]
Fix a few build warnings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Mon, 18 Apr 2005 10:40:09 +0000 (10:40 +0000)]
Need to include smp.h for the definition of smp_processor_id().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Thiemo Seufer [Sun, 17 Apr 2005 00:04:21 +0000 (00:04 +0000)]
Ustat needs a wrapper on n32.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Apr 2005 15:28:28 +0000 (15:28 +0000)]
Move sync into the delay slot here also.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Apr 2005 12:47:15 +0000 (12:47 +0000)]
Useless includes of everything, the kitchen sink and version.h ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Thu, 14 Apr 2005 12:34:15 +0000 (12:34 +0000)]
Arrested for multiple offences of header file inclusion.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Apr 2005 18:18:04 +0000 (18:18 +0000)]
We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, so
we need to do the set_fs(KERNEL_DS) thing around this call.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 13 Apr 2005 17:43:59 +0000 (17:43 +0000)]
NPTL, round one.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>