1. 23 Sep, 2003 16 commits
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: stat() · 18d0c6d3
      Alexander Viro authored
      	Added old_encode_dev() to assorted stat() variants.
      	Fixed bug in s390 emulation on s390x: stat64() should never truncate
      UID and GID.
      	Ditto for i386 emulation on x86_64.
      	Replaced dev_t in various struct stat with explicit integer type.
      	Replaced __kernel_dev_t with __old_kernel_dev_t in dm-ioctl-v1.h
      	Now we are free to change dev_t in any way we want - on all boundaries
      we have explicit conversions.
      	Took __kernel_dev_t definition to linux/types.h and changed it with
      __u16.  We are ready to proceed to 32bit now.
      18d0c6d3
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: CODA · 66c937f3
      Alexander Viro authored
      	Added old_encode_dev()/old_decode_dev() in CODA code - on assignments
      to/from ->va_rdev.
      66c937f3
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: loop.c · 427e541d
      Alexander Viro authored
      	Added old_encode_dev() in loop.c
      427e541d
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: mknod()/ustat() · 917bb5a1
      Alexander Viro authored
      	Changed sys_mknod() prototype to have unsigned int passed to it
      instead of current dev_t.  Added old_decode_dev() in sys_mknod() and
      made sure that its callers are passing it old_encode_dev(<value>)
      	Switched sys_ustat() and its variants from dev_t to unsigned (and
      added old_decode_dev()).
      	Took care of assignments to ROOT_DEV - again, old_decode_dev().
      	Late-boot search in devfs (call sys_newstat() and compare with
      st_rdev) also updated.
      917bb5a1
    • Alexander Viro's avatar
      3136f2b1
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: dm-ioctl-*.c · 2d06a9e3
      Alexander Viro authored
      	Added old_encode_dev()/old_decode_dev() in dm-ioctl-*.c
      2d06a9e3
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: md.c cleanups · 1684b4e9
      Alexander Viro authored
      	Minor cleanups in md.c + added old_decode_dev() on ioctl argument in
      there.
      1684b4e9
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: jffs2 cleanups · 979cd1d1
      Alexander Viro authored
      	Minor cleanup of jffs2 fill_super.
      979cd1d1
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: JFS · 9cc36375
      Alexander Viro authored
      	Added missing old_encode_dev() in JFS.
      9cc36375
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: NFS · 9e213524
      Alexander Viro authored
      	NFS made dev_t-agnostic.  Aside of minor fixes in debugging printks,
      and adding old_encode_dev()/old_decode_dev(), the main part is in handling
      of exports with large dev_t.  New fhandle format introduced, fh_verify(),
      fh_compose() and exports cache taught to deal with it.  Format is used when
      ->s_dev of exported fs doesn't fit into 256:256; in that case we put major
      and minor in separate words in fhandle; ->fh_fsid_type is set to 2.
      9e213524
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: tty usage · 7f904771
      Alexander Viro authored
      	tty->device had been used only in a couple of places and can be
      calculated by tty->index and tty->driver.  Field removed, its users switched
      to static inline dev_t tty_devnum(tty).
      7f904771
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: XFS · 59dffd62
      Alexander Viro authored
      	sanitized dev_t use in debugging printks in XFS, switched their
      bhash to use of struct block_device, added old_encode_dev() in XFS statfs()
      (it had stored dev_t in ->fs_id[0])
      59dffd62
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: drm debugging printks · 2c655bdf
      Alexander Viro authored
      	added old_encode_dev() in drm debugging printks, so they won't change
      when we go for bigger dev_t.
      2c655bdf
    • Alexander Viro's avatar
      [PATCH] prepare for 32-bit dev_t: reiserfs/procfs.c · 845602f8
      Alexander Viro authored
      	fs/reiserfs/procfs.c made sane.  It used to store dev_t of filesystem
      in the proc_dir_entry->data (which is void *) and played very odd games after
      that.
      	Switched to seq_file, stores pointer to superblock, uses sget() to
      validate it, avoids use of dev_t completely.
      845602f8
    • Andi Kleen's avatar
      [PATCH] Minor K8 fix for oprofile · 0873a5d6
      Andi Kleen authored
      K8 can run with a 32bit kernel too.  If that's the case we have to tell
      user space about it.  Remove the unneeded ifdef.
      
      In that case the CPU is called "x86-64/hammer" even on 32bit.  This is
      not strictly true on i386, but it's the named used by the current
      oprofile user space for K8 performance counters and it would complicate
      things to use different names between 32bit and 64bit.
      0873a5d6
    • Andi Kleen's avatar
      [PATCH] x86-64 merge · 24594a2b
      Andi Kleen authored
       - Fix -funit-at-a-time compilation and enable it when possible
       - Remove -finline-limit as it should not be needed anymore.
       - Update defconfig
       - Fix Makefile bug that caused a recompilation of vsyscall.so on
         every make (thanks to Sam Ravnborg)
       - Add beginning of asm/dwarf2.h to support assembler CFI directives
         (not complete yet)
       - Remove old PDAREF macro from entry.S
       - Remove clever and buggy code in sys_ioperm/set_bitmap and replace it
         by simple and working code
       - Don't make acpi_disabled __initdata.  It is referenced after boot.
       - Fix TLB size reporting in /proc/cpuinfo
       - Cleanup oops printing a bit
       - Add "executive summary" at end of oopses
       - Reenable interrupts on oopses before calling do_exit
       - Remove some unneeded prefetches.  Just two are enough to kickstart
         the hardware prefetcher.
       - Add prefetch workaround (based on code from Richard Brunner)
       - Clean up signal checking in do_page_fault
       - Don't allow modify_ldt to set 64bit codesegments
       - Readd SIGEV_PAD_SIZE (Stephen Rothwell)
       - Add some likelys to uaccess.h (idea from Manfred Spraul)
      24594a2b
  2. 24 Sep, 2003 1 commit
  3. 22 Sep, 2003 23 commits