- 22 May, 2002 4 commits
-
-
Kai Germaschewski authored
If our command line contains an ';', we'd only print half of it and execute the other half - not good.
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-built-in
-
Kai Germaschewski authored
Use the just introduced Rules.make extension to clean up drivers/net/*/Makefile.
-
Kai Germaschewski authored
New-style Makefiles have a nice way of declaring objects which need to be built either built-in or as modules: obj-$(CONFIG_EEPRO100) += eepro100.o However, handling objects in subdirectories, which need to be built and linked is not as nice: subdir-$(CONFIG_E100) += e100 ifeq ($(CONFIG_E100),y) obj-y += e100/built-in.o endif This means we descend into the subdirectory when building vmlinux / modules, depending on CONFIG_XXX. When we are building vmlinux we also need to link whatever has been built in the subdirectory, so we add it to $(obj-y) at the appropriate place (link order is important). Now, the extension below allows to rewrite the second case into obj-$(CONFIG_E100) += e100/ which looks much nicer ;-) Existing behavior is not changed, and the only prerequisite to using the extension above is that the O_TARGET in the subdir is named "built-in.o".
-
- 21 May, 2002 4 commits
-
-
Kai Germaschewski authored
People relied on the build generation number to find out if they actually booted the right kernel, only incrementing it on config changes isn't enough for them. So this patch goes back to the old behavior, only done right this time: We now don't increment the generation number on every invocation of make, but on every link of vmlinux. At the same time, this patch fixes the Makefile to only relink vmlinux if any of its prequisite object files (or the command line) changed. Incrementing the version number happens *after* we decided to relink vmlinux.
-
Kai Germaschewski authored
Before overwriting version.h, check if it actually changed - otherwise we will unnecessarily rebuild a lot of files, as e.g. module.h depends on version.h, and many files include module.h
-
Kai Germaschewski authored
o Add dependencies on generated files explicitly to the aic7xxx Makefile - These cannot be figured out automatically o Rename the precompiled firmware files to shipped_aic7xxx_{reg,seq}.h, so that we don't overwrite shipped files when regenerating the firmware
-
Kai Germaschewski authored
This patch restores the previous behavior of stopping the build immediately on error (unless the -k option is given to make) Before this patch, we would do the echo command no matter if the compile failed, thus returning success always. (Jan Harkes)
-
- 20 May, 2002 32 commits
-
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
-
Kai Germaschewski authored
E.g. make arch/i386/kernel/process.[is] used to work at least in the cases where the object wouldn't need any additional command line flags defined in the local subdir. Get back this behavior, I think I know how to do this correctly, too, but that's for later.
-
Kai Germaschewski authored
Remove the default for UTS_MACHINE, it gets set in include/linux/compile.h, just as UTS_RELEASE. (noticed by David Gibson)
-
Linus Torvalds authored
-
David Gibson authored
This adds a #include to drivers/pci/power.c to define __init. At least on PPC4xx this fixes compile problems.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
The recursive build used to do the following: On entering a directory, we would first call make in the subdirectories listed in $(subdir-y), and then call make in the current directory again, with the target 'all_targets'. The second invocation was used to make sure that the subdir makes completed before trying to build the O_TARGET/L_TARGET in the current dir, since this would link in objects in these subdirectories. However, using correct dependencies achieves the same, i.e. just make the objects in $(obj-y) which are not in the local subdirectory depend on 'sub_dirs', which is the rule to descend into subdirs. This patch actually halves the time "make vmlinux" takes when there's nothing to do (which makes sense, as we save half of the make invocations)
-
Kai Germaschewski authored
-
Kai Germaschewski authored
There's no good reason to build the objects in init/ explicitly from the top-level Makefile. Instead, handle init/ like every other subdir, which also provides the automatic checks for a changed command line etc.
-
http://linux-isdn.bkbits.net/linux-2.5.miscLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
Fix some trivial variable/functions/label defined (static) but not used warnings.
-
Kai Germaschewski authored
Removal of locks.h broke the build due to missing definition of capable() and current.
-
Linus Torvalds authored
-
http://linux-isdn.bkbits.net/linux-2.5.exportLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.export
-
Jack Hammer authored
ips driver update ( version 5.10.13-BETA )
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Christoph Hellwig authored
The lock.h header contained some hand-crafted lcoking routines from the pre-SMP days. In 2.5 only lock_super/unlock_super are left, guarded by a number of completly unrelated (!) includes. This patch moves lock_super/unlock_super to fs.h, which defined struct super_block that is needed for those to operate it, removes locks.h and updates all caller to not include it and add the missing, previously nested includes where needed.
-
Linus Torvalds authored
-
Jan Kara authored
This patch implements ioctl() for getting space used by file. I agree it's ioctl() abuse, it doesn't work on links and has other ugly properties. Better would be to change 'struct stat' but changing it just due to this is overkill and it will take some time before there will be enough changes which will provoke yet another struct stat :). So this is temporary solution... If you don't like it, simply reject it. The function it provides is not fundamental... So that should be all patches. Any comments (or decision about including/not including) welcome. Honza
-
Jan Kara authored
This patch implements configurable backward compatible quota interface. Maybe this isn't needed in 2.5 but as some people want to use patches in 2.4 where it's necessary I have implemented it.
-
Jan Kara authored
Implemented proper syncing of dquots - ie. also global information about quota files are synced. We find info to sync by walking through all superblocks...
-
Jan Kara authored
Remove use of 'short' in parameters of functions. 'int' is used instead.
-
Jan Kara authored
Implementation of new quota format. The code is almost the same as in -ac versions of kernel. All the code for new format is in quota_v2.c
-
Jan Kara authored
Implementation of old quota format. All the code for old format is now in quota_v1.c. Code mostly remained the same as in older kernels (just minor changes were needed to bind it with quota interface).
-
Jan Kara authored
This is probably the largest chunk in quota patches. It removes old quotactl interface and implements new one. New interface should not need arch specific conversions so they are removed. All quota interface stuff is moved to quota.c so we can easily separate things which should be compiled even if quota is disabled (mainly because XFS needs some interface even if standard VFS quota is disabled). Callbacks to filesystem on quota_on() and quota_off() are implemented (needed by Ext3), quota operations callbacks are now set in super.c on superblock initialization and not on quota_on(). This way it starts to make sense to have callbacks on alloc_space(), alloc_inode() etc. as filesystem can override them on read_super(). This will be used later for implementing journalled quota.
-
Jan Kara authored
This patch implements counting of used space in inodes in bytes. New field i_bytes is added and used space modulo 512 is kept in it (rest is still kept in i_blocks). Functions manipulating both i_blocks and i_bytes are implemented (inode_add_bytes(), inode_sub_bytes() and inode_set_bytes()). Filesystems allocating only in whole blocks can safely ignore i_bytes field and continue using i_blocks...
-
Jan Kara authored
This patch implements accounting of used space in bytes.
-
Jan Kara authored
This patch moves reporting of quota statistics from Q_GETSTATS call to /proc/fs/quota. Also reporting of registered quota formats is added.
-