summaryrefslogtreecommitdiffstats
path: root/arch/parisc
Commit message (Collapse)AuthorAgeFilesLines
* [PARISC] clocksource: Move update_cr16_clocksource later in bootKyle McMartin2007-02-273-4/+13
| | | | | | | | | | | smp_cpus_done is too early for us... before we even do a device inventory! Move update_cr16_clocksource into the tail end of processor_probe() and stub it out on CONFIG_SMP=n builds. Verified that clocksource0 is properly updated to use jiffies on an SMP build. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] time: clocksource lost update_callbackKyle McMartin2007-02-272-5/+7
| | | | | | | | So move the code to be called by smp_cpus_done, which is after we've figured out if there's more than one cpu actually present. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] time: Convert clocksource is_continuous to flagKyle McMartin2007-02-271-1/+1
| | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] clocksource_cr16: Use clocksource_change_rating()Kyle McMartin2007-02-271-2/+1Star
| | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Remove __read_mostly annotation from command_lineKyle McMartin2007-02-271-1/+1
| | | | | | | Who cares if it's in the read mostly section when it's going to be discarded anyway? Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6Linus Torvalds2007-02-2646-1270/+957Star
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6: (78 commits) [PARISC] Use symbolic last syscall in __NR_Linux_syscalls [PARISC] Add missing statfs64 and fstatfs64 syscalls Revert "[PARISC] Optimize TLB flush on SMP systems" [PARISC] Compat signal fixes for 64-bit parisc [PARISC] Reorder syscalls to match unistd.h Revert "[PATCH] make kernel/signal.c:kill_proc_info() static" [PARISC] fix sys_rt_sigqueueinfo [PARISC] fix section mismatch warnings in harmony sound driver [PARISC] do not export get_register/set_register [PARISC] add ENTRY()/ENDPROC() and simplify assembly of HP/UX emulation code [PARISC] convert to use CONFIG_64BIT instead of __LP64__ [PARISC] use CONFIG_64BIT instead of __LP64__ [PARISC] add ASM_EXCEPTIONTABLE_ENTRY() macro [PARISC] more ENTRY(), ENDPROC(), END() conversions [PARISC] fix ENTRY() and ENDPROC() for 64bit-parisc [PARISC] Fixes /proc/cpuinfo cache output on B160L [PARISC] implement standard ENTRY(), END() and ENDPROC() [PARISC] kill ENTRY_SYS_CPUS [PARISC] clean up debugging printks in smp.c [PARISC] factor syscall_restart code out of do_signal ... Fix conflict in include/linux/sched.h due to kill_proc_info() being made publicly available to PARISC again.
| * [PARISC] Add missing statfs64 and fstatfs64 syscallsGuy Martin2007-02-211-0/+2
| | | | | | | | Signed-off-by: Guy Martin <gmsoft@tuxicoman.be>
| * [PARISC] Compat signal fixes for 64-bit pariscCarlos O'Donell Jr2007-02-171-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In copy_siginfo_from_user32: Use compat_uptr_t. Use compat_ptr(). In copy_siginfo_to_user32: Use compat_int_t. Use ptr_to_compat(). The sigevent_t structure has a 64-bit si_ptr field that when copied to a 32-bit si_ptr will copy the wrong word. For the compat copy use the si_int field instead. Signed-off-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Reorder syscalls to match unistd.hCarlos O'Donell Jr2007-02-171-1/+1
| | | | | | | | | | | | | | | | | | Move migrate_pages into the same position as specified in unistd.h. This fixes migrate_pages, pselect6 and ppoll syscalls. Signed-off-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] fix sys_rt_sigqueueinfoKyle McMartin2007-02-172-1/+22
| | | | | | | | | | | | | | the parisc affecting portion of the patch was inadvertantly reverted a while ago. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] do not export get_register/set_registerHelge Deller2007-02-171-4/+2Star
| | | | | | | | | | | | | | - noticed by Randolph Chung (tausq) Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] add ENTRY()/ENDPROC() and simplify assembly of HP/UX emulation codeHelge Deller2007-02-174-48/+32Star
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] use CONFIG_64BIT instead of __LP64__Helge Deller2007-02-1714-67/+67
| | | | | | | | | | | | | | - additionally update my copyright timestamps Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] add ASM_EXCEPTIONTABLE_ENTRY() macroHelge Deller2007-02-176-180/+62Star
| | | | | | | | | | | | | | | | - this macro unifies the code to add exception table entries - additionally use ENTRY()/ENDPROC() at more places Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] more ENTRY(), ENDPROC(), END() conversionsHelge Deller2007-02-176-125/+99Star
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Fixes /proc/cpuinfo cache output on B160LHelge Deller2007-02-171-1/+1
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] implement standard ENTRY(), END() and ENDPROC()Helge Deller2007-02-171-48/+47Star
| | | | | | | | | | | | | | Use the macros in entry.S Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] kill ENTRY_SYS_CPUSKyle McMartin2007-02-172-132/+0Star
| | | | | | | | | | | | it's unlikely iCOD will ever happen on parisc-linux now... ;-) Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] clean up debugging printks in smp.cKyle McMartin2007-02-171-22/+16Star
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] factor syscall_restart code out of do_signalKyle McMartin2007-02-171-79/+98
| | | | | | | | | | | | looks better this way... ;) Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] display parisc device modalias in sysfsKyle McMartin2007-02-171-0/+11
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] use less assembler statements in syscall pathHelge Deller2007-02-171-8/+5Star
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Add TIF_RESTORE_SIGMASK supportKyle McMartin2007-02-173-136/+83Star
| | | | | | | | | | | | And unmask the pselect6/ppoll system calls. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] detect recursive kernel crash earlierHelge Deller2007-02-171-9/+9
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Convert soft power switch driver to kthreadHelge Deller2007-02-171-4/+0Star
| | | | | | | | | | | | | | | | And remove it's reference in time.c. Allow lcd_print() to take a const char *. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] disable cr16 clocksource when multiple CPUs are onlineHelge Deller2007-02-171-5/+19
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] GENERIC_TIME patchset for pariscHelge Deller2007-02-172-110/+28Star
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] a and b in "break a,b" message were swappedHelge Deller2007-02-172-11/+7Star
| | | | | | | | | | | | | | And clean up 32/64bit branch assembler statements Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] use fls_long in irq.cKyle McMartin2007-02-171-5/+1Star
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] add missing syscalls for vmsplice, move_pages, getcpu & epoll_pwaitHelge Deller2007-02-171-0/+4
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] dump stack backtrace on BUG() and add syslog-levels to printk()sHelge Deller2007-02-171-10/+12
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] whitespace cleanups and unify 32/64bit user-access assembler inlinesHelge Deller2007-02-171-4/+0Star
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Generic BUGHelge Deller2007-02-174-48/+48
| | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Fix show_stack() when we can't kmallocMatthew Wilcox2007-02-171-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | show_stack() was calling kzalloc() to allocate a struct pt_regs. This meant that *really* early stack dumps would cause a null pointer dereference. x86_64 allocates its pt_regs on the stack, so do the same. Kyle actually committed this exact patch to CVS on Wed Jul 26 14:32:39 2006 UTC, and never moved it across to git. Bad Kyle. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Remove sched.h from uaccess.h on pariscMatthew Wilcox2007-02-172-0/+4
| | | | | | | | | | | | | | | | | | Al Viro did this for x86-64 and reduced the number of dependencies on sched.h significantly. We had a couple of files which were relying on uaccess.h pulling in sched.h, so they need explicit dependencies added. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Clean up the cache and tlb headersRandolph Chung2007-02-172-12/+179
| | | | | | | | | | | | | | No changes in functionality. Signed-off-by: Randolph Chung <tausq@debian.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.gitKyle McMartin2007-02-1714-220/+116Star
| |\ | | | | | | | | | | | | | | | | | | Conflicts: arch/parisc/hpux/sys_hpux.c arch/parisc/mm/ioremap.c
| | * [PARISC] Fix thinko in cpu_data.lock removalKyle McMartin2006-12-121-2/+0Star
| | | | | | | | | | | | | | | | | | Need to remove the initializer as well. Doh. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] Move spinlock_t out of struct cpu_dataKyle McMartin2006-12-081-4/+7
| | | | | | | | | | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] Remove GCC_VERSION usage as suggested by Adrian BunkGrant Grundler2006-12-081-6/+2Star
| | | | | | | | | | | | | | | Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [TRIVIAL] [PARISC] Fix module.c printk message, add missing ')'Helge Deller2006-12-081-1/+2
| | | | | | | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] bloody printf fmt string warningsKyle McMartin2006-12-081-1/+1
| | | | | | | | | | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] avoid compiler warnings when compiling 64bitHelge Deller2006-12-082-5/+7
| | | | | | | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] more sparse fixesMatthew Wilcox2006-12-084-32/+34
| | | | | | | | | | | | | | | | | | | | | 0/NULL changes, __user annotations, __iomem annotations Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] sparse fixesMatthew Wilcox2006-12-082-3/+3
| | | | | | | | | | | | | | | | | | | | | 0/NULL, missing __user, missing __iomem, non-ANSI prototype. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] Unbreak discontigmem mem_init()Kyle McMartin2006-12-081-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `simple' way of walking and checking PageReserved is broken on discontigmem, instead we need to check each range explicitly. (Also rename a few things so they make more sense.) Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] Show more memory information and memory layout at bootupHelge Deller2006-12-081-1/+47
| | | | | | | | | | | | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| | * [PARISC] Delete arch/parisc/mm/kmap.c againMatthew Wilcox2006-12-081-166/+0Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I deleted this file from 2.4 5 years ago. Unfortunately, that change never got merged to Linus and so when we switched to 2.5 it came back and nobody noticed. It's never been built in 2.5/2.6 as it was never in the Makefile. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* | | Replace remaining references to "driverfs" with "sysfs".Robert P. J. Day2007-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Globally, s/driverfs/sysfs/g. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
* | | [PATCH] mark struct file_operations const 2Arjan van de Ven2007-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accidental writes at compile time to these shared resources. [akpm@osdl.org: sparc64 fix] Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>