23 Feb, 2008

1 commit


18 Feb, 2008

1 commit

  • This patch fixes the following build error caused by commit
    3631c650c495d61b1dabf32eb26b46873636e918:

    ...
    LD .tmp_vmlinux1
    crypto/built-in.o: In function `skcipher_null_crypt':
    crypto_null.c:(.text+0x3d14): undefined reference to `blkcipher_walk_virt'
    crypto_null.c:(.text+0x3d14): relocation truncated to fit: R_MIPS_26 against `blkcipher_walk_virt'
    crypto/built-in.o: In function `$L32':
    crypto_null.c:(.text+0x3d54): undefined reference to `blkcipher_walk_done'
    crypto_null.c:(.text+0x3d54): relocation truncated to fit: R_MIPS_26 against `blkcipher_walk_done'
    crypto/built-in.o:(.data+0x2e8): undefined reference to `crypto_blkcipher_type'
    make[1]: *** [.tmp_vmlinux1] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Herbert Xu

    Adrian Bunk
     

15 Feb, 2008

38 commits

  • Building latest git fails with the following error:
    ERROR: "crypto_alloc_ablkcipher" [crypto/tcrypt.ko] undefined!
    This appears to happen because CONFIG_CRYPTO_TEST is set while
    CONFIG_CRYPTO_BLKCIPHER is not.
    The following patch fixes the problem for me.

    Signed-off-by: Frederik Deweerdt
    Signed-off-by: Herbert Xu

    Frederik Deweerdt
     
  • The CRYPTO_DEV_HIFN_795X_RNG ifdefs are missing the CONFIG_ prefix.

    Signed-off-by: Patrick McHardy
    Signed-off-by: Herbert Xu

    Patrick McHardy
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
    HID: add USB IDs for MacBook 3rd generation
    HID: add LCSPEC from VERNIER to quirk list
    HID: fix processing of event quirks
    HID: Blacklist new GTCO CalComp USB device PIDs

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI: DMI: quirk for FSC ESPRIMO Mobile V5505
    ACPI: DMI blacklist updates
    pnpacpi: __initdata is not an identifier
    ACPI: static acpi_chain_head
    ACPI: static acpi_find_dsdt_initrd()
    ACPI: static acpi_no_initrd_override_setup()
    thinkpad_acpi: static
    ACPI suspend: Execute _WAK with the right argument
    cpuidle: Add Documentation
    ACPI, cpuidle: Clarify C-state description in sysfs
    ACPI: fix suspend regression due to idle update

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (46 commits)
    sh: Fix multiple UTLB hit on UP SH-4.
    sh: fix pci io access for r2d boards
    sh: fix ioreadN_rep and iowriteN_rep
    sh: use ctrl_in/out for on chip pci access
    sh: Kill off more dead symbols.
    sh: __uncached_start only on sh32.
    sh: asm/irq.h needs asm/cpu/irq.h.
    serial: sh-sci: Fix up SH-5 build.
    sh: Get SH-5 caches working again post-unification.
    maple: Fix up maple build failure.
    sh: Kill off bogus SH_SDK7780_STANDALONE symbol.
    sh: asm/tlb.h needs linux/pagemap.h for CONFIG_SWAP=n.
    sh: Tidy include/asm-sh/hp6xx.h
    maple: improve detection of attached peripherals
    sh: Shut up some trivial build warnings.
    sh: Update SH-5 flush_cache_sigtramp() for API changes.
    sh: Fix up set_fixmap_nocache() for SH-5.
    sh: Fix up pte_mkhuge() build breakage for SH-5.
    sh: Disable big endian for SH-5.
    sh: Handle SH7366 CPU in check_bugs().
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt:
    hrtimer: catch expired CLOCK_REALTIME timers early
    hrtimer: check relative timeouts for overflow

    Linus Torvalds
     
  • * 'slab-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm:
    slub: Support 4k kmallocs again to compensate for page allocator slowness
    slub: Fallback to kmalloc_large for failing higher order allocs
    slub: Determine gfpflags once and not every time a slab is allocated
    make slub.c:slab_address() static
    slub: kmalloc page allocator pass-through cleanup
    slab: avoid double initialization & do initialization in 1 place

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
    RDMA/cma: Do not issue MRA if user rejects connection request
    mlx4_core: Move table_find from fmr_alloc to fmr_enable
    IB/mlx4: mlx4_ib_fmr_alloc() should call mlx4_fmr_enable()
    IPoIB: Remove unused struct ipoib_cm_tx.ibwc member
    IPoIB: On P_Key change event, reset state properly
    IB/mthca: Convert to use be16_add_cpu()
    RDMA/cxgb3: Fail loopback connections
    IB/cm: Fix infiniband_cm class kobject ref counting
    IB/cm: Remove debug printk()s that snuck upstream
    IB/mthca: Add missing sg_init_table() in mthca_map_user_db()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86:
    x86: cpa, fix out of date comment
    KVM is not seen under X86 config with latest git (32 bit compile)
    x86: cpa: ensure page alignment
    x86: include proper prototypes for rodata_test
    x86: fix gart_iommu_init()
    x86: EFI set_memory_x()/set_memory_uc() fixes
    x86: make dump_pagetable() static
    x86: fix "BUG: sleeping function called from invalid context" in print_vma_addr()

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE
    [POWERPC] Cell RAS: Remove DEBUG, and add license and copyright
    [POWERPC] hvc_rtas_init() must be __init
    [POWERPC] free_property() must not be __init
    [POWERPC] vdso_do_func_patch{32,64}() must be __init
    [POWERPC] Remove generated files on make clean
    [POWERPC] Fix arch/ppc compilation - add typedef for pgtable_t
    [POWERPC] Wire up new timerfd syscalls
    [POWERPC] PS3: Update sys-manager button events
    [POWERPC] PS3: Sys-manager code cleanup
    [POWERPC] PS3: Use system reboot on restart
    [POWERPC] PS3: Fix bootwrapper hang bug
    [POWERPC] PS3: Fix reading pm interval in logical performance monitor
    [POWERPC] PS3: Fix setting bookmark in logical performance monitor
    [POWERPC] Fix DEBUG_PREEMPT warning when warning

    Linus Torvalds
     
  • Extract the common code to remove a dentry from the lru into a new function
    dentry_lru_remove().

    Two call sites used list_del() instead of list_del_init(). AFAIK the
    performance of both is the same. dentry_lru_remove() does a list_del_init().

    As a result dentry->d_lru is now always empty when a dentry is freed.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • d_path() is used on a pair. Lets use a struct path to
    reflect this.

    [akpm@linux-foundation.org: fix build in mm/memory.c]
    Signed-off-by: Jan Blunck
    Acked-by: Bryan Wu
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Cc: Michael Halcrow
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • seq_path() is always called with a dentry and a vfsmount from a struct path.
    Make seq_path() take it directly as an argument.

    Signed-off-by: Jan Blunck
    Cc: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • I'm embedding struct path into struct svc_expkey.

    Signed-off-by: Jan Blunck
    Cc: Al Viro
    Acked-by: "J. Bruce Fields"
    Cc: Neil Brown
    Cc: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • I'm embedding struct path into struct svc_export.

    [akpm@linux-foundation.org: coding-style fixes]
    [ezk@cs.sunysb.edu: NFSD: fix wrong mnt_writer count in rename]
    Signed-off-by: Jan Blunck
    Acked-by: J. Bruce Fields
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Cc: Trond Myklebust
    Signed-off-by: Erez Zadok
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • get_dcookie() is always called with a dentry and a vfsmount from a struct
    path. Make get_dcookie() take it directly as an argument.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • proc_get_link() is always called with a dentry and a vfsmount from a struct
    path. Make proc_get_link() take it directly as an argument.

    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Cc: "Eric W. Biederman"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • audit_log_d_path() is a d_path() wrapper that is used by the audit code. To
    use a struct path in audit_log_d_path() I need to embed it into struct
    avc_audit_data.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Cc: Stephen Smalley
    Cc: James Morris
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • Move and update d_path() kernel API documentation.

    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • All callers to __d_path pass the dentry and vfsmount of a struct path to
    __d_path. Pass the struct path directly, instead.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Andreas Gruenbacher
    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • In nearly all cases the set_fs_{root,pwd}() calls work on a struct
    path. Change the function to reflect this and use path_get() here.

    Signed-off-by: Jan Blunck
    Signed-off-by: Andreas Gruenbacher
    Acked-by: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • * Use struct path in fs_struct.

    Signed-off-by: Andreas Gruenbacher
    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • This introduces the symmetric function to path_put() for getting a reference
    to the dentry and vfsmount of a struct path in the right order.

    Signed-off-by: Jan Blunck
    Signed-off-by: Andreas Gruenbacher
    Acked-by: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • Use path_put() in a few places instead of {mnt,d}put()

    Signed-off-by: Jan Blunck
    Signed-off-by: Andreas Gruenbacher
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Acked-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • * Add path_put() functions for releasing a reference to the dentry and
    vfsmount of a struct path in the right order

    * Switch from path_release(nd) to path_put(&nd->path)

    * Rename dput_path() to path_put_conditional()

    [akpm@linux-foundation.org: fix cifs]
    Signed-off-by: Jan Blunck
    Signed-off-by: Andreas Gruenbacher
    Acked-by: Christoph Hellwig
    Cc:
    Cc: Al Viro
    Cc: Steven French
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • This is the central patch of a cleanup series. In most cases there is no good
    reason why someone would want to use a dentry for itself. This series reflects
    that fact and embeds a struct path into nameidata.

    Together with the other patches of this series
    - it enforced the correct order of getting/releasing the reference count on
    pairs
    - it prepares the VFS for stacking support since it is essential to have a
    struct path in every place where the stack can be traversed
    - it reduces the overall code size:

    without patch series:
    text data bss dec hex filename
    5321639 858418 715768 6895825 6938d1 vmlinux

    with patch series:
    text data bss dec hex filename
    5320026 858418 715768 6894212 693284 vmlinux

    This patch:

    Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: fix cifs]
    [akpm@linux-foundation.org: fix smack]
    Signed-off-by: Jan Blunck
    Signed-off-by: Andreas Gruenbacher
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Cc: Casey Schaufler
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • Move the definition of struct path into its own header file for further
    patches.

    Signed-off-by: Jan Blunck
    Signed-off-by: Andreas Gruenbacher
    Acked-by: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • path_release_on_umount() should only be called from sys_umount(). I merged the
    function into sys_umount() instead of having in in namei.c.

    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • This test seems to be unnecessary since we always have rootfs mounted before
    calling a usermodehelper.

    Signed-off-by: Andreas Gruenbacher
    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Acked-by: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • The sound drivers and the pnpbios core test for current->root != NULL. This
    test seems to be unnecessary since we always have rootfs mounted before
    initializing the drivers.

    Signed-off-by: Jan Blunck
    Acked-by: Christoph Hellwig
    Cc: Bjorn Helgaas
    Cc: Jaroslav Kysela
    Acked-by: Takashi Iwai
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • Add explanation of I_DIRTY_DATASYNC bit.

    Signed-off-by: Jan Kara
    Cc: Joern Engel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Kara
     
  • configfs.h uses the container_of macro and as such should include kernel.h.

    Signed-off-by: Ben Nizette
    Cc: Joel Becker
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Nizette
     
  • Change my name & email in MAINTAINERS

    Signed-off-by: Christine Caulfield
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christine Caulfield
     
  • The warning issued by fs/binfmt_flat.c when the format handler is given a
    non-FLAT and non-script executable is annoying to say the least when working
    with FDPIC ELF objects. If you build a kernel that supports both FLAT and
    FDPIC ELFs on no-mmu, every time you execute an FDPIC ELF, the kernel spits
    out this message. While I understand a lot of newcomers to the no-mmu world
    screw up generation of FLAT binaries, this warning is not usable for systems
    that support more than just FLAT.

    Signed-off-by: Jie Zhang
    Signed-off-by: Mike Frysinger
    Cc: Bernd Schmidt
    Acked-by: Greg Ungerer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     
  • Use tabs instead of spaces.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • I was looking at timers in the Coldfire system and I noticed that the
    CONFIG_HIGHPROFILE option seems to be a little out of date.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matt Waddel
     
  • Modify the extra asm flags for debugger capabilities, use asflags instead for
    EXTRA_AFLAGS. Suggestion from Sam Ravnborg.

    Signed-off-by: Greg Ungerer
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Avoid unneccessary use of xchg() in set_mb().

    Signed-off-by: Greg Ungerer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Greg Ungerer