- 20 Sep, 2003 3 commits
-
-
Sam Ravnborg authored
into mars.ravnborg.org:/home/sam/bk/sepout
-
Sam Ravnborg authored
Simplify 'make rpm' a bit, and enable use of rpm in combination with separate output directory. Also added kernel.spec to ignore list
-
Sam Ravnborg authored
Building drivers/eisa were broken in non-verbose mode. This has been fixed by escaping "'" for cmd. It was used in $(call cmd,eisaid). Escaping "'" is already done by if_changed, so this brings cmd in line with if_changed
-
- 11 Sep, 2003 1 commit
-
-
Sam Ravnborg authored
Separate output directory support enables the following (at least): o Building several configurations from the same SRC base, and in parrallel o Building from a RO media o More efficient build if files are retreived via NFS (files stored locally) Usage is simple: cd /path/to/kernel/src mkdir ~/build/kernel make O=~/build/kernel [Make options] Please note: The O= syntax must be used for ALL invocations of make. As an alternative you may set KBUILD_OUTPUT to the directory where to put the output files. The patch works for me, and I have tried with various configurations, including allnoconfig and defconfig. How it works: If the O= option is used, or KBUILD_OUTPUT is set then a second invocation of make happens in the output directory. The second invocation of make uses VPATH to tell make where to locate the files. Furthermore include options for gcc is modifyied to point both in the directory where the kernel src is located, and in the directory where the output files are located. The latter is used for generated .h files. When building the kernel the asm symlink is created. To support this a new 'include2' directory is created. Within include2/ asm is a symlink to the asm-$(ARCH) directory in the kernel src. Also when building the kernel the asm-offset.h file is created, and located in the include/asm-$(ARCH) directory, but included via <asm/asm-offset.h>. Therefore within include/ another asm symlink is created pointing to the asm-$(ARCH) directory located in the output directory. In Makefile.build the output directory is created if not already present. This was needed to support xfs, and oprofile. The patch is loosly based on ideas from Kai G. Roman Zippel introduced support for this in kconfig long time ago
-
- 10 Sep, 2003 15 commits
-
-
Sam Ravnborg authored
-
Sam Ravnborg authored
From: "Nathan T. Lynch" <ntl@pobox.com> The attached patch fixes the toplevel Makefile to remove cscope.out during make mrproper. The default name for the database that cscope creates is cscope.out, and this is what the cscope rule in the makefile uses. Currently, mrproper will leave cscope.out behind, which can make for interesting diffs...
-
Sam Ravnborg authored
From: Ricky Beam <jfbeam@bluetronic.net>, me With the increasing amount of programs located in scripts/, several of which is dependent on the kernel configuration, it makes sense to avoid building these too often. With this patch only fixdep is build, the minimal requirement for running any *config target
-
Sam Ravnborg authored
This patch introduces the framework required for architectures to supply several independent configurations. Three architectures does this today: ppc, ppc64 and arm. The infrastructure provided here requires the files to be located in the following directory: arch/$(ARCH)/configs The file shall be named <board>_defconfig To select the configuration for ppc/gemini simply issue the following command: make gemini_defconfig This will generate a valid configuration. ppc and ppc64 already comply to the above requirements, arm needs some trivial updates.
-
Sam Ravnborg authored
bin2c is used by ikconfig
-
Sam Ravnborg authored
The out-dated modules.txt were deleted from the kernel, save the kbuild related bits in Documentation/kbuild. It needs more updates, but for now this is better than nothing
-
Matthew Wilcox authored
<linux/interrupt.h> uses barrier() but does not include <linux/kernel.h>.
-
Matthew Wilcox authored
Whitespace cleanup (mostly deleting trailing whitespace).
-
Matthew Wilcox authored
This patch introduces a 1GB stack size limit for stack-grows-up (ie PA-RISC), as discussed previously.
-
Anton Blanchard authored
Dont print the contents of the initramfs, for any decent sized cpio it will overflow the kernel ring buffer. Also relax permissions on /dev (755 not 700).
-
Anton Blanchard authored
Set correct permissions on initramfs directories and special files. We dont want to obey the umask here, so do the same thing we do on normal files - call sys_chmod.
-
Anton Blanchard authored
tty_register_driver already calls tty_register_device so there is no need to do it in hvc_console. Besides, it oopses when we do that.
-
Rusty Russell authored
Thanks to Stephen Hemminger for pointing out how obsolete modules.txt is. modules.txt contains mainly ancient information which is replicated in the kconfig help message, README, makefile.txt or the modprobe manual page. The only part which is not covered elsewhere is the "building external modules" which is still being debated (and belongs under the kbuild docs). kmod.txt reference removed from index, too.
-
Armin Schindler authored
pci_device_id can not be marked __devinitdata, was re-added with last update by accident.
-
Matthew Wilcox authored
This fills in the ELF EI_OSABI field. This doesn't matter for most architectures, but PA-RISC uses the Linux flavour of the ABI (since HPUX uses the None flavour). Patch by Randolph Chung.
-
- 09 Sep, 2003 21 commits
-
-
Jens Axboe authored
This is a lot better than what is there know. From: Felipe W Damasio <felipewd@terra.com.br> - cli-sti removal - blk API update - set_current_state - Remove 'panic' line. .. and we can now remove the BROKEN_ON_SMP Kconfig annotation.
-
Jens Axboe authored
From: Stephen Hemminger <shemminger@osdl.org> Compiler warning due to missing equal sign.
-
Andrew Morton authored
From: Andrew Theurer <habanero@us.ibm.com> This change: http://linux.bkbits.net:8080/linux-2.5/diffs/kernel/sched.c@1.202 does not seem to make sense: #define CAN_MIGRATE_TASK(p,rq,this_cpu) \ ((!idle || (jiffies - (p)->last_run > cache_decay_ticks)) && \ !task_running(rq, p) && \ cpu_isset(this_cpu, (p)->cpus_allowed)) It should be just the opposite; an idle cpu should be able to have a more aggressive steal, and a busy cpu should not.
-
Andrew Morton authored
-
Andrew Morton authored
From: Matt Mackall <mpm@selenic.com> The new locking in the random driver is consuming 60% of CPU resources in Anton's monster power5 boxes. Basically, when the primary pool is 7/8th full, we shut off the firehose and go into a trickle mode to keep the pool fresh. Saves CPU for everyone and should make the contention drop off the charts too (though the trickle factor might need adjusting again for Origin-class machines).
-
Andrew Morton authored
From: Dave Hansen <haveblue@us.ibm.com> I was compiling for my plain 'ol PC, and was getting unresolved symbols for get_memcfg_from_srat() and get_zholes_size(). The CONFIG_NUMA definition right now allows it to be turned on for plain old X86_PC. Does anyone know why this is? depends on SMP && HIGHMEM64G && (X86_PC || X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI && !ACPI_HT_ONLY)) In any case, the summit code incorrectly assumes in at least 2 places that NUMA && !NUMAQ means summit. Someone was evidently trying to cover the generic subarch case, but that's already taken care of by the lovely config system and CONFIG_ACPI_SRAT. This patch fixes those assumptions and adds a nice little warning for people that try to #include srat.h without having srat support turned on.
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> The mwave driver uses a user space daemon for some modem operations. The user space daemon calls ioctl(,IOCTL_MW_GET_IPC), and the driver returns after an interrupt arrived. The actual wait used interruptible_sleep_on(), which can lead to lost wakeups. A local spinlock on the stack is used to close that race, but this is broken on SMP, perhaps even with preempt. The attached patch fixes that by switching to the normal add_wait_queue/test_if_race_occured/schedule/remove_wait_queue sequence.
-
Andrew Morton authored
ext3 has fancy test harness code which allows you to simulate crashes (for testing recovery). It will make the underlying disk start ignoring writes a specified number of seconds after the mount. It's inoperative without an additional offline patch anyway, and it's doing hacky things which scared Al. So kill it; I'll maintain it in the separate ext3 debug patch.
-
Andrew Morton authored
From: Andre McCurdy <armcc2000@yahoo.com> There is some inconsistency within lib/inflate.c and its users about whether the error message text or the error() function should provide the '\n'. This patch tries to make everyone consistent - by removing the newline from all message texts, and adding one to the only error() function which did not provide it (in init/do_mounts_rd.c).
-
Andrew Morton authored
From: Andrey Borzenkov <arvidjaar@mail.ru> LANG is not always enough to force date to english.
-
Andrew Morton authored
From: Rajesh Venkatasubramanian <vrajesh@eecs.umich.edu> Don't deref the pte pointer after having kunmapped the memory it points at.
-
Andrew Morton authored
From: Rajesh Venkatasubramanian <vrajesh@eecs.umich.edu> The remap_file_pages system call with MAP_NONBLOCK flag does not install file-ptes when the required pages are not found in the page cache. Modify the populate functions to install file-ptes if the mapping is non-linear and the required pages are not found in the page cache. Patch is for test4-mm6. Compiles and boots. Patch tested using the programs at: http://www-personal.engin.umich.edu/~vrajesh/linux/remap-file-pages/
-
Andrew Morton authored
From: "Nakajima, Jun" <jun.nakajima@intel.com> Attached is a patch that enables PNI (Prescott New Instructions) monitor/mwait in the kernel idle handler.
-
Andrew Morton authored
From: Maneesh Soni <maneesh@in.ibm.com> d_delete() calls dentry_iput() after releasing the per dentry lock. This can race with __d_lookup and lead to situation where we can make dentry negative with ref count > 1. The following patch makes dentry_iput() to hold per dentry lock till d_inode is NULL and dentry has been removed from d_alias list.
-
Andrew Morton authored
From: Christoph Hellwig <hch@infradead.org> PPP leaves the chardev registered even if we're going to fail the modprobe.
-
Andrew Morton authored
From: john stultz <johnstul@us.ibm.com> Don't try to support more than NR_CPUS cpus: things overflow. Also, increase the default in config for some architectures. (Dave Hansen).
-
Andrew Morton authored
From: "Randy.Dunlap" <rddunlap@osdl.org> remove duplicate #includes in kernel/
-
Andrew Morton authored
From: "Randy.Dunlap" <rddunlap@osdl.org> remove duplicate #includes in sound/
-
Andrew Morton authored
From: James Morris <jmorris@redhat.com> This patch against current bk makes the recently added SELinux boot parameter feature a configurable option, and enables SELinux by default when selected. These changes were made following feedback including discussion on the SELinux list. The rationale for the changes is to allow SELinux to be be configured and enabled unconditionally. If the boot parameter option is selected, then SELinux is now enabled unless selinux=0 is specified at the kernel command line.
-
Andrew Morton authored
From: Adrian Bunk <bunk@fs.tum.de> Earlier patch wasn't correct especially in the !CONFIG_SCSI_IZIP_EPP16 case, reading all uses of this array (IMM_MODE_STRING is used to print the corresponding string in printks). If I'm not misunderstanding it, CONFIG_SCSI_IZIP_EPP16 means "use 16bit even when 32bit is requested". It seems the right solution is static char *IMM_MODE_STRING[] = { [IMM_AUTODETECT] = "Autodetect", [IMM_NIBBLE] = "SPP", [IMM_PS2] = "PS/2", [IMM_EPP_8] = "EPP 8 bit", [IMM_EPP_16] = "EPP 16 bit", #ifdef CONFIG_SCSI_IZIP_EPP16 [IMM_EPP_32] = "EPP 16 bit", #else [IMM_EPP_32] = "EPP 32 bit", #endif [IMM_UNKNOWN] = "Unknown", };
-
Andrew Morton authored
From: Oleg Drokin <green@namesys.com> This patch implements DirectIO support for reiserfs v3. This is mostly a port from 2.4. Thanks to Mingming Cao from IBM for some clues in porting.
-