1. 21 May, 2002 4 commits
    • Kai Germaschewski's avatar
      kbuild: Restore build nr, improve vmlinux link · ea52ca1b
      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.
      ea52ca1b
    • Kai Germaschewski's avatar
      kbuild: Regenerate include/linux/version.h only if necessary · 5b281f91
      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
      5b281f91
    • Kai Germaschewski's avatar
      kbuild: aic7xxx firmware build should not overwrite shipped files · b3434820
      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
      b3434820
    • Kai Germaschewski's avatar
      kbuild: Stop immediately on error · 5f044d28
      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)
      5f044d28
  2. 20 May, 2002 36 commits
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 88019a46
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      88019a46
    • Kai Germaschewski's avatar
      Fix building .i / .s files for testing · d73e35e8
      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.
      d73e35e8
    • Kai Germaschewski's avatar
      Fix UTS_MACHINE · 0ed47278
      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)
      0ed47278
    • Linus Torvalds's avatar
    • David Gibson's avatar
      [PATCH] Missing init.h in drivers/pci/power.c · 00f42361
      David Gibson authored
      This adds a #include to drivers/pci/power.c to define __init.  At least
      on PPC4xx this fixes compile problems.
      00f42361
    • Linus Torvalds's avatar
      c0713be8
    • Linus Torvalds's avatar
      99ef44b7
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 6c52c43c
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      6c52c43c
    • Kai Germaschewski's avatar
      kbuild: Speed up vmlinux build · a6209819
      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)
      a6209819
    • Kai Germaschewski's avatar
    • Kai Germaschewski's avatar
      kbuild: Standardize building of init/* · 5674ceba
      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.
      5674ceba
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.misc · bdf47e98
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      bdf47e98
    • Kai Germaschewski's avatar
      Fix some compiler warnings · d3d3a50a
      Kai Germaschewski authored
      Fix some trivial variable/functions/label defined (static) but not used
      warnings.
      d3d3a50a
    • Kai Germaschewski's avatar
      Fix ext2 compilation · 974173c9
      Kai Germaschewski authored
      Removal of locks.h broke the build due to missing definition of capable()
      and current.
      974173c9
    • Linus Torvalds's avatar
      8e60e749
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.export · 80af11be
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      80af11be
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 7a2b1693
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.export
      7a2b1693
    • Jack Hammer's avatar
      [PATCH] ips for 2.5 · 99baa651
      Jack Hammer authored
      ips driver update ( version 5.10.13-BETA )
      99baa651
    • Linus Torvalds's avatar
      Update kernel version to 2.5.17 · 97e87c96
      Linus Torvalds authored
      97e87c96
    • Linus Torvalds's avatar
    • Christoph Hellwig's avatar
      [PATCH] get rid of <linux/locks.h> · bd2b0c85
      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.
      bd2b0c85
    • Linus Torvalds's avatar
      Merge quota update from Jan Kara · 43a3a37b
      Linus Torvalds authored
      43a3a37b
    • Jan Kara's avatar
      [PATCH] [13/13] quota-13-ioctl · ad447df3
      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
      ad447df3
    • Jan Kara's avatar
      [PATCH] [12/13] quota-12-compat · 1c5bbffe
      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.
      1c5bbffe
    • Jan Kara's avatar
      [PATCH] [11/13] quota-11-sync · 736e690e
      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...
      736e690e
    • Jan Kara's avatar
      [PATCH] [10/13] quota-10-inttype · 0c532315
      Jan Kara authored
      Remove use of 'short' in parameters of functions. 'int' is used instead.
      0c532315
    • Jan Kara's avatar
      [PATCH] [9/13] quota-9-format2 · 8ea6f99a
      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
      8ea6f99a
    • Jan Kara's avatar
      [PATCH] [8/13] quota-8-format1 · dcfb8111
      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).
      dcfb8111
    • Jan Kara's avatar
      [PATCH] [7/13] quota-7-quotactl · b5abbc1f
      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.
      b5abbc1f
    • Jan Kara's avatar
      [PATCH] [6/13] quota-6-bytes · ce9fb139
      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...
      ce9fb139
    • Jan Kara's avatar
      [PATCH] [5/13] quota-5-space · f0071c7b
      Jan Kara authored
      This patch implements accounting of used space in bytes.
      f0071c7b
    • Jan Kara's avatar
      [PATCH] [4/13] quota-4-getstats · f48acc23
      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.
      f48acc23
    • Jan Kara's avatar
      [PATCH] [3/13] quota-3-register · 48c39f24
      Jan Kara authored
        This patch implements list 'quota_formats' with registered quota formats
      and functions register_quota_format() and unregister_quota_format() for
      manipulating the list.
      48c39f24
    • Jan Kara's avatar
      [PATCH] [2/13] quota-2-formats · b80d2549
      Jan Kara authored
      This patch removes most format dependent code from dquot.c and quota.h
      and puts calls of callback functions instead.
      b80d2549
    • Jan Kara's avatar
      [PATCH] [1/13] quota-1-newlocks · 61d681d6
      Jan Kara authored
        This patch adds dq_dup_ref to struct dquot. Functions altering just usage of
      quota take just this duplicated reference, inodes, quotactl() helpers take real
      dq_count reference. dqput() blocks if there are some duplicated references and
      put reference is last 'real one'. This way is assured that quota IO is not
      done from functions altering quota usage (quota structure is written on last dqput()).
      61d681d6
    • Linus Torvalds's avatar
      Merge · 6033f024
      Linus Torvalds authored
      6033f024