- 12 Jul, 2004 1 commit
-
-
Keith Owens authored
Make mca.c build again with debug enabled. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 09 Jul, 2004 6 commits
-
-
David Mosberger authored
-
David Mosberger authored
This fixes a bug in which the Ski simulator ended up getting the wrong time, since phys_get_time() ended up storing the correct time in the wrong place if a region-5 virtual address was passed (as would happen for stack variables of the init-task). On real machines, this bug likely would have caused a crash on machines which don't support switching EFI into virtual mode.
-
Kenneth W. Chen authored
The order of reading ar.itc is incorrect with respect to all other variables in fsys_gettimeofday. All variables involved in time interpolation need to be protected by the sequence lock xtime_lock for consistency check. However, the first time that fsys_gettimeofday() takes a time stamp, it reads the count outside the seq lock leading to the following possible time leap into the future scenario: fsys_gettimeofday: read ar.itc .... <context switch> .... read_seqbegin read all other variables (last_nsec_offset, jiffies, xtime) do time interpolation - elapsed_cycles become a large negative number and converting it to nsec overflows and make it a large positive number read_seqretry success updates last_nsec_offset (which is several seconds into the future). All subsequent gettimeofday() calls will be wrong as well because monotonic property kicks in. It only self-corrects once that future time actually arrives. This patch fixes the problem (and moves one instruction to make some room). Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Asit Mallick <asit.k.mallick@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Peter Martuccelli authored
This patch adds IA64 support to the audit infrastructure. The IA64 audit patch complements the existing audit support for the i386, PPC64, and x86_64 architectures. This patch is based on work by Ray Lanza. Signed-off-by: Peter Martuccelli <peterm@redhat.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Tony Luck authored
Drop the prohibition for module core code calls to module init code (this breaks netfilter). Signed-off-by: <tony.luck@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Seth Rohit authored
This patch does an early parsing of kernel command line to check if no_int_route is present. Sal_init code depends on this option to enable/disable interrupt routing. Signed-off-by: Rohit Seth <rohit.seth@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 08 Jul, 2004 3 commits
-
-
Stéphane Eranian authored
Commands not requiring the monitored task to be stopped would spin in wait_task_inactive() forever. After call to wait_task_inactive(), state may have changed, therefore it needs to be rechecked. Signed-off-by: Stephane Eranian <eranian@hpl.hp.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
David Mosberger authored
This way, non-GENERIC kernels can optimize away the no-op calls while GENERIC kernels can still take the address of the function to initialize the machvec vector.
-
Brent Casavant authored
Hit this bug just yesterday. I hope the problem and fix require no explanation. Patched kernel boots and runs just fine. Signed-off-by: Brent Casavant <bcasavan@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 07 Jul, 2004 2 commits
-
-
David Mosberger authored
-
Peter Chubb authored
[PATCH] ia64: Fix OSDL BugMe report 2885: realtime process can't preempt low priority process in kernel Rearranged code to make it work. There were two problems: 1. The preempt flag was being tested only if code was leaving for user space (the logic should be: test for RESCHEDULE if we're switching to a kernel thread, test everything if switching to a user thread) 2. The check of the user space flags was being repeated even if the work had been done. There is one small change in semantics: when returning from a preemption, the preemption flag will *not* be rechecked. Otherwise, I found that it was easy to get into a livelock situation where no forward progress was made. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 06 Jul, 2004 4 commits
-
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
Keith Owens authored
ASM_UNW_PRLG_GRSAVE(n) must match the number of input registers in the following alloc statement. Otherwise you get invalid backtraces :( Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Arun Sharma authored
More code needs to be guarded by if (uss32) { ... }. Without this patch, if (buf32..) may be checking uninitialized data and may result in spurious ENOMEMs. Signed-off-by: Gordon Jin <gordon.jin@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Keith Owens authored
Rename SN local function move_irq to sn_move_irq to remove conflict with global move_irq. Needed since ashok.raj moved move_irq() from iosapic.c to irq.c. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 05 Jul, 2004 1 commit
-
-
- 06 Jul, 2004 3 commits
-
-
Dave Airlie authored
-
Dave Airlie authored
-
Dave Airlie authored
-
- 05 Jul, 2004 20 commits
-
-
Andrew Morton authored
drivers/video/kyro/fbdev.c: In function `kyrofb_probe': drivers/video/kyro/fbdev.c:736: warning: passing arg 1 of `memset' makes pointer from integer without a cast Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
allowdma0 is gone in 2.6, the patch below removes the mentionings of this option in the documentation. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
William Lee Irwin III authored
As ->vm_private_data is used as a cursor for swapout of VM_NONLINEAR vmas, the check for NULL ->vm_private_data or VM_RESERVED is too strict, and should allow VM_NONLINEAR vmas with non-NULL ->vm_private_data. This fixes an issue on 2.6.7-mm5 where system calls to remap_file_pages() spuriously failed while under memory pressure. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Christoph Hellwig authored
The __bdevname library function is leaking module references due to __bdevname ->get_gendisk ->kobj_lookup ->ata_probe ->get_disk ->try_module_get What we're trying to do in there is too ambitious. Change it to just print the major and minor. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
gcc 3.5 is warning about unused static variables, add __attribute_unused__ to the 2 places to silence it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
gcc 3.5 is warning about static vs non static function declarations. The following patch removes function prototypes in .h files where possible and changes prototypes to be static elsewhere. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
William Lee Irwin III authored
For 32-bit, one quickly discovers that swapon() is not given an fd already opened with O_LARGEFILE to act upon and the forcing of O_LARGEFILE for 64-bit is irrelevant, as the system call's argument is a path. So this patch manually forces it for swapon() and swapoff(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Jackson authored
With the following changes, I was able to compile the "sparc" (32 bit) arch, using defconfig and crosstool. There were still plenty of warnings, but nothing else relating to bitops or cpumasks that I noticed. This is working with 2.6.7-mm5. I have no way to boot test this, but these changes seem obvious enough that I'd recommend including them. Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Jackson authored
It looks like someone removed UPF_RESOURCES in remove-upf_resources.patch in parallel with someone adding drivers/firmware/pcdp.c that references UPF_RESOURCES. In any event, trying to build a defconfig ia64 2.6.7-mm5 (which includes CONFIG_SERIAL_8250=y in the .config) fails with: drivers/firmware/pcdp.c: In function `setup_serial_console': drivers/firmware/pcdp.c:100: error: `UPF_RESOURCES' undeclared (first use in this function) Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
David Eger authored
radeonfb: the Stanford lock checker found us double-locking rinfo->reg_lock via sequences like OUTPLL(foo, INPLL(bar) | baz ), as both OUTPLL and INPLL grab the register lock. This should fix the problem. Signed-off-by: David Eger <eger@havoc.gtf.org Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wright authored
Move inline avc_cache_stats helper functions alongside the statically declared avc_cache_stats array. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wright authored
With gcc-3.5 from CVS: security/selinux/avc.c:76: error: static declaration of 'avc_cache_stats' follows non-static declaration security/selinux/include/avc.h:107: error: previous declaration of 'avc_cache_stats' was here Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Dave Jones authored
smp_changes_mask is used by generic_set_all() which isn't __init Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
With gcc from CVS: sound/isa/wavefront/wavefront_fx.c:697: error: static declaration of 'page_zero' follows non-static declaration include/sound/yss225.h:4: error: previous declaration of 'page_zero' was here Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Martin J. Bligh authored
At the moment, we initialise physnode_map from the various BIOS tables, which can create problems, as holes inside an node return 1 for pfn_valid, and yet pfn_to_nid is not correct for them. I'd hacked around this in my tree by defaulting the mapping to 0, not -1, but that's not the correct fix ... this is. I consolidated all the code back into 1 place, and use node_start_pfn[] and node_end_pfn[] to walk over it instead - that means it matches up perfectly with lmem_map's as we're using the same data. It also cleans up a lot of the code. Tested on both NUMA-Q and x440 ... and it only affects i386 NUMA boxen. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Mika Kukkonen authored
CHECK fs/udf/dir.c fs/udf/dir.c:240:13: warning: expected lvalue for member dereference [...] CHECK fs/udf/namei.c fs/udf/namei.c:872:6: warning: expected lvalue for member dereference fs/udf/namei.c:916:6: warning: expected lvalue for member dereference fs/udf/namei.c:1189:14: warning: expected lvalue for member dereference fs/udf/namei.c:1234:7: warning: expected lvalue for member dereference Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrey Panin authored
This patch moves reboot related workarounds out of dmi_scan.c Please consider applying. Signed-off-by: Andrey Panin <pazke@donpac.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
rmk added a check to vmlinux for undefined symbols in -mm kernels. ppc64 fails due to trying to export an unimplemented symbol from assembly code. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Olaf Hering authored
A native powerpc64-linux gcc can not compile a ppc32 kernel properly. This patch fixes it. It was copied from ppc64. The change to vmlinux.lds.S fixes this error: ld: warning: powerpc:common architecture of input file `init/built-in.o' is incompatible with powerpc:common64 output Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
Currently our spinlocks can call into the hypervisor on dedicated processor machines. Doing this may slow our locks down, so avoid it where possible. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-