Ralf Baechle
9ff77c469e
Export shm_align_mask and flush_data_cache_page.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:54 +01:00
Ralf Baechle
07b4ebd372
Put salone.o back into arclib. It's a lib so doesn't harm if unused atm.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:54 +01:00
Ralf Baechle
77c728c224
Gcc 4.0 fixes.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:53 +01:00
Ralf Baechle
5eaf7a21be
Use new txx9 serial driver.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:52 +01:00
Ralf Baechle
cdaed73afb
Fix preemption bug.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:51 +01:00
Pete Popov
ebc7f12fbc
Int controller fixes.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:51 +01:00
Ralf Baechle
fe00f943e0
Sparseify MIPS.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:50 +01:00
Ralf Baechle
14f18b7f7e
On 24K we did always disable cache parity protection - obviously not
...
the greatest thing to do. Try to enable parity protection, check if
we actually succeeded and print a message about the outcome of this.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:49 +01:00
Ralf Baechle
0f04afb595
ISOify.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:48 +01:00
Pete Popov
2d32ffa44a
Moved irq_tab_alchemy to the board specific irqmap.c files.
...
Cleaned up a to of warnings in dbdma.c.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:48 +01:00
Pete Popov
e3ad1c23ba
Base Au1200 2.6 support.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:47 +01:00
Steven J. Hill
784f7b9d89
Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binaries
...
are now working for 80% of the ones I have tried. The other ones that do
not work all fail in the same way with the same messages. Once that bug
is tracked down, we should be in good shape. Task locking still needs
some work.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:47 +01:00
Ralf Baechle
333d1f6794
Gross macro abuse. Get rid of gpreg_t, vaddr_t, REG_TO_VA and
...
VA_TO_REG. Who ever wrote this apparently did enjoy the C Puzzle Book.
ISBN 0201604612, a little old but still fun reading for the next
blackout ;)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:46 +01:00
Ralf Baechle
0bd5d2e9ec
Cleanup fpuemuprivate declarations.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:46 +01:00
Ralf Baechle
8ab00b9a02
Convert struct hw_interrupt_type initializations to ISO C99 named
...
initializers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:46 +01:00
Pete Popov
d437441ef5
No barrier needed on au1x.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:45 +01:00
Pete Popov
13d1d73ea5
Comment correction after further investigation of issue.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:44 +01:00
Thiemo Seufer
685f779e60
Fix initialization. Unbreak the wait-for-completion loops. Code cleanup.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:44 +01:00
Maciej W. Rozycki
65bda1a95d
Switch SiByte drivers back to __raw_*() functions.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:44 +01:00
Ralf Baechle
b727a60258
Merge do_boot_cpu() into the new style __cpu_up().
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:43 +01:00
Ralf Baechle
0ac354801a
On multiprocessor systems the BogoMIPS for each CPU was reported was
...
the value for the last CPU having calibrated it's delay loop.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:42 +01:00
Ralf Baechle
c4ed38a0c6
Resurrect Cobalt support for 2.6.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:42 +01:00
Thiemo Seufer
9f83d839df
-nostdlib boilerplate.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:41 +01:00
Thiemo Seufer
dc953df1ba
Fix wchan implementation, based on earlier by from Atsushi Nemoto.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:40 +01:00
Thiemo Seufer
4e6a05fe5f
Improved modules loader, more robust and works on 64bit kernels.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:39 +01:00
Steven J. Hill
7ee8798f37
Until I figure out why NFS filesystems are having problems with
...
the 'load_irix_binary' and having kernel faults, Irix support is
disabled. I suspect locking of some sort, but I will now have to
investigate further.
Static IRIX binaries are now being detected properly and are using the
ELF interpreter found in this file.
Signed-off-by: Steven J. Hill <sjhill@realitydiluted.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:39 +01:00
Thiemo Seufer
dd19326148
Initialize iomem_resource.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:39 +01:00
Thiemo Seufer
16033d6104
Handle addresses beyond VMALLOC_END correctly.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:38 +01:00
Thiemo Seufer
26a51b270f
Use intermediate variable.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:38 +01:00
Thiemo Seufer
1ba582a128
O2 doesn't have _that_ much RAM.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:37 +01:00
Pete Popov
d8f5d86178
Changed all Au1x boards to noncoherent again.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:37 +01:00
Ralf Baechle
d1abb6a2b8
32-bit compatibility for various timer-related system calls.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:37 +01:00
Ralf Baechle
a982099ca5
Update to match the native siginfo structure and code.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:36 +01:00
Ralf Baechle
09276d905e
32-bit compatibility for ptrace GETEVENTMSG operation.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:36 +01:00
Ralf Baechle
54f2da755b
Implement 32-bit compatibility for waitid(2).
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:35 +01:00
Ralf Baechle
a19050f301
Waitid(2) now has 5 arguments.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:34 +01:00
Ralf Baechle
b6e203d84d
Use generic compat_sys_wait4 to implement 32-bit wait4(2).
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:34 +01:00
Ralf Baechle
39408c6af4
Replace the complicated and broken attempt to clean interrupt by
...
something simple - doesn't need to be fast, after all.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:33 +01:00
Ralf Baechle
ca8a597d53
If you want RM7000 better fix it to build first ...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:33 +01:00
Ralf Baechle
de1db6ffe2
It's unwise to disable all interrupts of the boot node ;-)
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:32 +01:00
Maciej W. Rozycki
f4b7cdb481
Enable RM7000 secondary cache for Atlas and Malta boards.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:32 +01:00
Ralf Baechle
79acf83e50
Moves a test which determines if we actually need to perform a
...
cacheflush to the right place. That's a bug which is harmless on UP
but a severe bug on SMP.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:31 +01:00
Ralf Baechle
c6e8b58771
Update MIPS to use the 4-level pagetable code thereby getting rid of
...
the compacrapability headers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:31 +01:00
Ralf Baechle
57f0060b8a
Document why calling smp_call_function will deadlock when called with
...
interrupts disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:30 +01:00
Ralf Baechle
505403b6a0
25Kf is also physically indexed.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:29 +01:00
Ralf Baechle
a95970f323
20Kc and SB1 don't suffer from aliases.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:28 +01:00
Ralf Baechle
84fd089a42
Delete duplicate copy of fixrange_init.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:28 +01:00
Ralf Baechle
cc26b815dd
rm9000_init() really is __init code.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:27 +01:00
Ralf Baechle
a18815abcd
Use preempt_schedule_irq.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:27 +01:00
Ralf Baechle
54176736f7
More oprofile bits for MIPS32-style performance counters. The code to
...
bolt this into the actual hardware interrupt is yet missing from this
commit.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
FEXPORT(ret_from_fork)
2005-10-29 19:30:27 +01:00
Ralf Baechle
29c4869946
It works better when including arch/mips/sgi-ip27/Kconfig ...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:26 +01:00
Ralf Baechle
ae6aafe309
Move missplaced code line to the right place.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:26 +01:00
Ralf Baechle
d1e344e500
Use hardware mechanism to deal with cache aliases in the 24K.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:25 +01:00
Ralf Baechle
28ecca4786
Remove old wrong bits of cache code.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:25 +01:00
Maciej W. Rozycki
ea7c394492
Clean up SEAD interrupt initialization.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:24 +01:00
Maciej W. Rozycki
925ddb04c5
Mask and ack CPU interrupts upon initialization. Keep the state
...
of software interrupts when unmasking.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:24 +01:00
Ralf Baechle
38b18f7258
Move Sibyte Kconfig stuff into it's own Kconfig.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:23 +01:00
Ralf Baechle
db89a48c1f
Replace deprecated interruptible_sleep_on() function call with direct
...
wait-queue usage.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:22 +01:00
Maciej W. Rozycki
f638d1971e
Update descriptions for MIPS Technologies evaluation boards.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:22 +01:00
Maciej W. Rozycki
b6d468ec2d
Reenable EARLY_PRINTK for the DECstation.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:21 +01:00
Maciej W. Rozycki
304429915d
Formatting fixes.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:21 +01:00
Maciej W. Rozycki
aa0980b809
Fixes for system controllers for Atlas/Malta core cards.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:20 +01:00
Maciej W. Rozycki
bec0204dfb
Actually route cPCI interrupts. Update inaccurate comments.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:19 +01:00
Ralf Baechle
c6237645d1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
...
Fix TASK_SIZE for 32-bit processes on 64-bit kernels.
2005-10-29 19:30:19 +01:00
Ralf Baechle
b053c98fbb
Fix register layout in o32 core dumps on 64-bit systems.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:19 +01:00
Ralf Baechle
c83cfc9c94
Get rid of early_init. There's more need to make this form of
...
initialization actually useful and as is certainly unmergable with
upstream.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:18 +01:00
Ralf Baechle
8c93650890
Dummy ISA DMA functions for systems that don't have ISA but share
...
drivers with ISA such as legacy free PCI.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:17 +01:00
Ralf Baechle
b188ffe876
Fix build with SMP disabled and preemption enabled.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:17 +01:00
Thiemo Seufer
0964ce24d0
Move the invalid pmd and pte tables from .data to .bss. Fix alignment.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:16 +01:00
Thiemo Seufer
c264852726
Remove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able.
...
Don't clobber the preloaded TI_FLAGS in a2 needlessly.
Unexport local functions.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:16 +01:00
Thiemo Seufer
69903d6500
Fix typos and formatting.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:15 +01:00
Thiemo Seufer
b59a9504cb
De-optimize and decomplicate the spurious interrupt handler.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:15 +01:00
Al Viro
942b6f6216
[PATCH] type fix in arm/boot/compressed/misc.c
...
spot the typo...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 10:35:08 -07:00
Al Viro
943eae0314
[PATCH] missing exports of do_settimeofday() variants
...
frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported (the
last two are using variant in kernel/time.c). Exports added to match
the rest of architectures.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 10:35:07 -07:00
Linus Torvalds
8a212ab6b8
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
2005-10-28 21:09:26 -07:00
Tony Luck
0e1f606092
[IA64] fix warning unused variable `g'
...
4ac0068f44
forgot to delete
the declaration of this variable which is no longer used.
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-10-28 15:52:13 -07:00
Jesse Barnes
f8977d0a9b
[PATCH] PCI fixup for Toshiba laptops and ohci1394
...
This is a fix for a bug I see on my Toshiba laptop, where the ohci1394
controller gets initialized improperly. The patch adds two PCI fixups
to arch/i386/pci/fixup.c, one that happens early on to cache the value
of the PCI_CACHE_LINE_SIZE config register, and another that later
restores the value, along with a valid IRQ number and some BAR values.
I've tested it on my laptop, and it prevents me from running into what I
consider to be a major bug: IRQ 11 is disabled by the IRQ debug code,
causing my wireless to break.
Thanks to Rob for the original patch to ohci1394.c and Stefan for lots
of proofreading (and a last minute bug caught in review!) and additional
information collection. I think the DMI system list is correct, but we
may need to add some more PCI IDs to the PCI_FIXUP macros over time.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-10-28 15:37:02 -07:00
Tony Luck
9590204d31
Pull optimize-ptrace-threads into release branch
2005-10-28 15:27:48 -07:00
Tony Luck
8496f2a451
Pull fix-slow-tlb-purge into release branch
2005-10-28 15:27:36 -07:00
Tony Luck
2d8f6a5219
Pull fix-bte-copy into release branch
2005-10-28 15:27:16 -07:00
Tony Luck
fac84ef267
Pull xpc-disengage into release branch
2005-10-28 15:27:03 -07:00
Tony Luck
d73dee6ee4
Pull for-each-cpu into release branch
2005-10-28 15:26:43 -07:00
Tony Luck
9acd3fa2e1
Pull asm-slot-fix into release branch
2005-10-28 14:33:50 -07:00
Tony Luck
5a2b1722e1
Pull proc-cpuinfo-siblings into release branch
2005-10-28 14:33:35 -07:00
Tony Luck
1e1bb25e97
Pull big-sim-disk into release branch
2005-10-28 14:33:14 -07:00
Tony Luck
c87ff94333
Pull sparsemem-v5 into release branch
2005-10-28 14:32:56 -07:00
Tony Luck
5833f1420b
Pull new-efi-memmap into release branch
2005-10-28 14:32:30 -07:00
Tony Luck
a1e78db3f5
Pull define-node-cleanup into release branch
2005-10-28 13:24:06 -07:00
Tony Luck
fbbb0bd1f6
Pull sn_pci_legacy_read-write into release branch
2005-10-28 13:23:50 -07:00
Tony Luck
9472d8ce14
Pull acpi-produce-consume into release branch
2005-10-28 13:23:34 -07:00
Tony Luck
3168c31abe
Pull update-default-configs into release branch
2005-10-28 13:23:14 -07:00
Tony Luck
dbcb25e621
Pull move-iosapic-to-acpi into release branch
2005-10-28 13:22:55 -07:00
Linus Torvalds
84860bf064
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
2005-10-28 13:09:47 -07:00
Tony Luck
0ace57a96b
Pull ar-k0-usage into release branch
2005-10-28 11:16:32 -07:00
Tony Luck
2d300fece2
Pull 1024-cpu into release branch
2005-10-28 11:16:06 -07:00
Tony Luck
c85749e6d1
Pull hp-machvec into release branch
2005-10-28 11:15:25 -07:00
Tony Luck
0d9136fdbc
Pull altix-mmr into release branch
2005-10-28 11:15:08 -07:00
Tony Luck
9189674026
Pull altix-fpga-reset into release branch
2005-10-28 11:14:47 -07:00
Greg KH
6fbfddcb52
Merge ../bleed-2.6
2005-10-28 10:13:16 -07:00
Linus Torvalds
8ed5759043
Merge branch 'forlinus' of git://parisc-linux.org/home/kyle/git/parisc-2.6
2005-10-28 10:08:46 -07:00