- 13 Apr, 2004 10 commits
-
-
Geert Uytterhoeven authored
m68k: Use explicit-sized types for I/O accesses
-
Geert Uytterhoeven authored
Amikbd: Use C99 array initializers and standard key defines
-
Geert Uytterhoeven authored
M68k: Clean up initializers: - Convert struct/array initializers to C99 style - Do not initialize data to 0 or NULL explicitly so it can move to bss
-
Geert Uytterhoeven authored
M68k: Add remaining CPU vector definitions
-
Geert Uytterhoeven authored
Sun-3: Kill duplicate definitions: - FC_CONTROL is defined in <asm/sun3-head.h> - vectors[] is declared in <asm/traps.h>
-
Geert Uytterhoeven authored
MVME16x RTC: Make days_in_mo[] const
-
Geert Uytterhoeven authored
Zorro8390: const data cannot be in the init data section (from Roman Zippel)
-
Geert Uytterhoeven authored
Permedia2: Always use the standard barrier macros (they do exist on m68k, and map to barrier())
-
Geert Uytterhoeven authored
Permedia2: Mark pm2fb broken on Amiga, until somebody fixes it (pm2fb.c explicitly tests for CONFIG_PCI right now)
-
Geert Uytterhoeven authored
Zorro: Quieten building of devlist.h (cfr. PCI)
-
- 12 Apr, 2004 30 commits
-
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Linus Torvalds authored
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Randy Dunlap authored
Patch from: Randy Dunlap From: Walter Harms Now init_pcmcia_cs() returns the result of class_register(). Therefore init_pcmcia_cs() will possibly return an error.
-
bk://bk.arm.linux.org.uk/linux-2.6-serialLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Randy Dunlap authored
Patch from: Randy Dunlap From: Danilo Piazzalunga Some assembly code (on various archs) either 1. uses hardcoded errno numbers instead of the canonical macro names, or 2. defines them locally, instead of including the appropriate header (while including other headers). This patch "fixes" such usage in - getuser.S for arm - putuser.S for arm
-
Linus Torvalds authored
From Herbert Xu; the files aren't used anywhere, and shouldn't be there in the first place.
-
Andrew Morton authored
From: Zwane Mwaikambo <zwane@linuxpower.ca> The following patch adds support for the XScale performance monitoring unit to OProfile. It uses not only the performance monitoring counters, but also the clock cycle counter (CCNT) allowing for upto 5 usable counters. The code has been developed and tested on an IOP331 (hardware courtesy of Intel) therefore i haven't been able to test it on XScale PMU1 systems. Testing on said systems would be appreciated, and if done, please uncomment the #define DEBUG line at the top of op_model_xscale.c OProfile userspace support has already been committed and should be available via CVS.
-
Andrew Morton authored
Only x86 implements pmdisk_arch_suspend(). So mark pmdisk as ia32-only, to avoid breaking allyesconfig.
-
Andrew Morton authored
drivers/block/cciss_scsi.c: In function `scsi_cmd_stack_free': drivers/block/cciss_scsi.c:241: warning: cast from pointer to integer of different size
-
Andrew Morton authored
From: <mikem@beardog.cca.cpqcorp.net> This patch fixes a bug where /proc displays 1 less logical volume than is actually configured. This causes problems for some installers.
-
Andrew Morton authored
Use the bh bit test/set infrastructure rather than open-coding everything. No functional changes.
-
Andrew Morton authored
From: Patrick Mochel <mochel@digitalimplant.org> Here is a patch to make sysfs optional. Note that with CONFIG_SYSFS=n you must specify the boot device's major:minor on the kernel boot command line with root=03:01 For embedded systems, it will save a significant amount of memory during runtime. And, it saves 4k from the built kernel image for me.
-
Andrew Morton authored
drivers/parport/procfs.c: In function `parport_default_proc_unregister': drivers/parport/procfs.c:529: warning: `return' with a value, in function returning void
-
Andrew Morton authored
From: Sam Ravnborg <sam@ravnborg.org> Based on initial patch from Andreas Gruenbacher there is now better support for building external modules with kbuild. The preferred syntax is now: make -C $KERNELSRC M=$PWD but the old syntax: make -C $KERNELSRC SUBDIRS=$PWD modules will remain supported. The major differences compared to before are that: 1) No attempt is made to neither check nor update any files in $KERNELSRC 2) Module versions are now supported During stage 2 of kernel compilation where the modules are built, a new file Module.symvers is created. This file contains the version for all symbols exported by the kernel and any module compiled within the kernel tree. When the external module is build the Module.symvers file is being read and symbol versions are used from that file. The purpose of avoiding any updates in the kernel src is that usually in a distribution the kernel src will be read-only, and there is no need to try to update it. And when building an external module the focus is on the module, not the kernel. I expect the distributions will start using something like this: kernel src - with no generated files. Not even .config: /usr/src/linux-<version> Output from build: /lib/modules/linux-<version>/build where build is a real directory with relevant output files and the appropriate .config. I have some Documentation in the pipe-line, but wants to see how this approach is received before completing it. This patch is made on top of the previously posted patch to divide make clean in three steps. And you may need to edit the following line in the patch to make it apply: %docs: scripts_basic FORCE to %docs: scripts FORCE
-
Andrew Morton authored
From: Sam Ravnborg <sam@ravnborg.org> Previously 'make clean' deleted all automatically generated files. The following patch revert this behaviour, and now 'make clean' leaves enough behind to allow external modules to be built. The cleaning is now done in three steps: make clean - delete everything not needed for building external modules make mrproper - delete all generated files, including .config make distclean - delete all temporary files such as *.orig, *~, *.rej etc. This fixes reports about nvidia and vmware build issues.
-
Andrew Morton authored
From: Sam Ravnborg <sam@ravnborg.org> From: Herbert Xu <herbert@gondor.apana.org.au> It seems that the %docs targets only needs scripts_basic. The following patch does just that. This removes its dependency on the existence of a .config file.
-
Andrew Morton authored
From: Arjan van de Ven <arjanv@redhat.com> fb_copy_cmap() takes an argument about wether to do memcpy, copy_from_user or copy_to_user. 0 is memcpy, 2 is copy_to_user. In the ioctl you want copy_to_user for copying the colormap to userspace.
-
Andrew Morton authored
From: Arjan van de Ven <arjanv@redhat.com> Patch below fixes a thinko in the frame buffer drivers; the code does cursor.image.data = kmalloc(size, GFP_KERNEL); .... cursor.mask = kmalloc(size, GFP_KERNEL); .... if (copy_from_user(&cursor.image.data, sprite->image.data, size) || copy_from_user(cursor.mask, sprite->mask, size)) { .... where it's clear that the & in the first copy_from_user is utterly bogus since the destination is the content of the newly allocated buffer, and not the pointer to it as the code does.
-
Andrew Morton authored
oopses have been reported in do_acct_process(), with premption enabled, when threaded applications are exitting. It appears that we're racing with another thread which is nulling out current->tty. I think this race is still there after we moved current->tty into current->signal->tty, so let's take the needed lock.
-
Andrew Morton authored
drivers/char/tpqic02.c: In function `rdstatus': drivers/char/tpqic02.c:700: warning: int format, different type arg (arg 2) drivers/char/tpqic02.c:700: warning: int format, different type arg (arg 2)
-
Andrew Morton authored
drivers/char/applicom.c: In function `ac_write': drivers/char/applicom.c:363: warning: int format, different type arg (arg 2) drivers/char/applicom.c:363: warning: int format, different type arg (arg 3) drivers/char/applicom.c:363: warning: int format, different type arg (arg 2) drivers/char/applicom.c:363: warning: int format, different type arg (arg 3) drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. - copy*user in cli" drivers/char/applicom.c: In function `ac_read': drivers/char/applicom.c:546: warning: int format, different type arg (arg 2) drivers/char/applicom.c:546: warning: int format, different type arg (arg 3) drivers/char/applicom.c:546: warning: int format, different type arg (arg 2) drivers/char/applicom.c:546: warning: int format, different type arg (arg 3)
-
Andrew Morton authored
security/selinux/ss/policydb.c:1160: warning: signed size_t format, different type arg (arg 3) security/selinux/ss/policydb.c:1160: warning: signed size_t format, different type arg (arg 3)
-
Andrew Morton authored
drivers/i2c/i2c-dev.c: In function `i2cdev_read': drivers/i2c/i2c-dev.c:140: warning: int format, different type arg (arg 3) drivers/i2c/i2c-dev.c: In function `i2cdev_write': drivers/i2c/i2c-dev.c:168: warning: int format, different type arg (arg 3)
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> clear_bit(n, addr) clears the nth bit. test_and_clear_bit(n, addr) clears the nth bit. cpu_clear(n, cpumask) clears the nth bit (vs. cpus_clear()). bitmap_clear(bitmap, n) clears out all the bits up to n. Moreover, there's a CLEAR_BITMAP() in linux/types.h which bitmap_clear() is a wrapper for. Rename bitmap_clear to bitmap_zero, which is harder to confuse (yes, it bit me), and make everyone use it.
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Sam Ravnborg found these. 1) have_vmlinux is a global, and should not be reset every time. 2) We pretend every module needs cleanup_module so it gets versioned, but that isn't defined for CONFIG_MODULE_UNLOAD=n. 3) The visible effect of this is that modpost will start complaning about undefined symbols - previously this happened only when the module was isntalled.
-
Andrew Morton authored
From: <john.l.byrne@hp.com> In do_fork(), if an error occurs after the mm_struct for the child has been allocated, it is never freed. The exit_mm() meant to free it increments the mm_count and this count is never decremented. (For a running process that is exitting, schedule() takes care this; however, the child process being cleaned up is not running.) In the CLONE_VM case, the parent's mm_struct will get an extra mm_count and so it will never be freed. This patch should fix both the CLONE_VM and the not CLONE_VM case; the test of p->active_mm prevents a panic in the case that a kernel-thread is being cloned.
-