22 Jul, 2008

11 commits

  • We have the dev_printk() variants for this kind of thing, use them
    instead of directly trying to access the bus_id field of struct device.

    This is done in order to remove bus_id entirely.

    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Kobjects do not have a limit in name size since a while, so stop
    pretending that they do.

    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • device_create() is race-prone, so use the race-free
    device_create_drvdata() instead as device_create() is going away.

    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: H. Peter Anvin
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • device_create() is race-prone, so use the race-free
    device_create_drvdata() instead as device_create() is going away.

    Cc: Ralf Baechle
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] cpufreq: remove CVS keywords
    [CPUFREQ] change cpu freq arrays to per_cpu variables

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: (25 commits)
    mmtimer: Push BKL down into the ioctl handler
    [IA64] Remove experimental status of kdump
    [IA64] Update ia64 mmr list for SGI uv
    [IA64] Avoid overflowing ia64_cpu_to_sapicid in acpi_map_lsapic()
    [IA64] adding parameter check to module_free()
    [IA64] improper printk format in acpi-cpufreq
    [IA64] pv_ops: move some functions in ivt.S to avoid lack of space.
    [IA64] pvops: documentation on ia64/pv_ops
    [IA64] pvops: add to hooks, pv_time_ops, for steal time accounting.
    [IA64] pvops: add hooks, pv_irq_ops, to paravirtualized irq related operations.
    [IA64] pvops: add hooks, pv_iosapic_ops, to paravirtualize iosapic.
    [IA64] pvops: define initialization hooks, pv_init_ops, for paravirtualized environment.
    [IA64] pvops: paravirtualize NR_IRQS
    [IA64] pvops: paravirtualize entry.S
    [IA64] pvops: paravirtualize ivt.S
    [IA64] pvops: paravirtualize minstate.h.
    [IA64] pvops: define paravirtualized instructions for native.
    [IA64] pvops: preparation for paravirtulization of hand written assembly code.
    [IA64] pvops: introduce pv_cpu_ops to paravirtualize privileged instructions.
    [IA64] pvops: add an early setup hook for pv_ops.
    ...

    Linus Torvalds
     
  • The message talked about "left on" when it meant to say disabled.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: convert Dprintk to pr_debug

    Linus Torvalds
     
  • There are a couple of places where (P)Dprintk is used which is an old
    compile time enabled printk wrapper. Convert it to the generic
    pr_debug().

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • * 'x86/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (160 commits)
    x86: remove extra calling to get ext cpuid level
    x86: use setup_clear_cpu_cap() when disabling the lapic
    KVM: fix exception entry / build bug, on 64-bit
    x86: add unknown_nmi_panic kernel parameter
    x86, VisWS: turn into generic arch, eliminate leftover files
    x86: add ->pre_time_init to x86_quirks
    x86: extend and use x86_quirks to clean up NUMAQ code
    x86: introduce x86_quirks
    x86: improve debug printout: add target bootmem range in early_res_to_bootmem()
    Subject: devmem, x86: fix rename of CONFIG_NONPROMISC_DEVMEM
    x86: remove arch_get_ram_range
    x86: Add a debugfs interface to dump PAT memtype
    x86: Add a arch directory for x86 under debugfs
    x86: i386: reduce boot fixmap space
    i386/xen: add proper unwind annotations to xen_sysenter_target
    x86: reduce force_mwait visibility
    x86: reduce forbid_dac's visibility
    x86: fix two modpost warnings
    x86: check function status in EDD boot code
    x86_64: ia32_signal.c: remove signal number conversion
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: (44 commits)
    sparc: Remove Sparc's asm-offsets for sclow.S
    sparc64: Update defconfig.
    sparc64: Add Niagara2 RNG driver.
    sparc64: Add missing hypervisor service group numbers.
    sparc64: Remove 4MB and 512K base page size options.
    sparc64: Convert to generic helpers for IPI function calls.
    sparc: Use new '%pS' infrastructure to print symbols.
    sparc32: fix init.c allnoconfig build error
    sparc64: Config category "Processor type and features" absent
    sparc: arch/sparc/kernel/apc.c to unlocked_ioctl
    sparc: join the remaining header files
    sparc: merge header files with trivial differences
    sparc: when header files are equal use asm-sparc version
    sparc: copy sparc64 specific files to asm-sparc
    sparc: Merge asm-sparc{,64}/asi.h
    sparc: export openprom.h to userspace
    sparc: Merge asm-sparc{,64}/types.h
    sparc: Merge asm-sparc{,64}/termios.h
    sparc: Merge asm-sparc{,64}/termbits.h
    sparc: Merge asm-sparc{,64}/setup.h
    ...

    Linus Torvalds
     

21 Jul, 2008

29 commits

  • Ingo Molnar
     
  • …ore', 'x86/cpu', 'x86/fixmap', 'x86/gart', 'x86/kprobes', 'x86/memtest', 'x86/modules', 'x86/nmi', 'x86/pat', 'x86/reboot', 'x86/setup', 'x86/step', 'x86/unify-pci', 'x86/uv', 'x86/xen' and 'xen-64bit' into x86/for-linus

    Ingo Molnar
     
  • Ingo Molnar
     
  • Ingo Molnar
     
  • Signed-off-by: Yinghai Lu
    Signed-off-by: Ingo Molnar

    Yinghai Lu
     
  • ... so don't need to call clear_cpu_cap again in early_identify_cpu,
    and could use cleared_cpu_caps like other places.

    Signed-off-by: Yinghai Lu
    Signed-off-by: Ingo Molnar

    Yinghai Lu
     
  • Ingo Molnar
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (21 commits)
    [MIPS] Remove unused maltasmp.h.
    [MIPS] Remove unused saa9730_uart.h.
    [MIPS] Rename MIPS sys_pipe syscall entry point to something MIPS-specific.
    [MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.
    [MIPS] TXx9: Fix some sparse warnings
    [MIPS] TXx9: Add 64-bit support
    [MIPS] TXx9: Cleanups for 64-bit support
    [MIPS] Cobalt: Fix I/O port resource range
    [MIPS] don't leak setup_early_printk() in userspace header
    [MIPS] Remove include/asm-mips/mips-boards/sead{,int}.h
    [MIPS] Remove asm-mips/mips-boards/atlas{,int}.h
    [MIPS] mips/sgi-ip22/ip28-berr.c: fix the build
    [MIPS] TXx9: Miscellaneous build fixes
    [MIPS] Routerboard 532: Support for base system
    [MIPS] IP32: Use common SGI button driver
    [MIPS] IP22: Use common SGI button driver
    [MIPS] IP22, IP28: Fix merge bug
    [MIPS] Tinker with constraints in to fix build error.
    [MIPS] Add missing prototypes to asm/page.h
    [MIPS] Fix missing prototypes in asm/fpu.h
    ...

    Linus Torvalds
     
  • * 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm: (70 commits)
    KVM: Adjust smp_call_function_mask() callers to new requirements
    KVM: MMU: Fix potential race setting upper shadow ptes on nonpae hosts
    KVM: x86 emulator: emulate clflush
    KVM: MMU: improve invalid shadow root page handling
    KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction
    KVM: Prefix some x86 low level function with kvm_, to avoid namespace issues
    KVM: check injected pic irq within valid pic irqs
    KVM: x86 emulator: Fix HLT instruction
    KVM: Apply the kernel sigmask to vcpus blocked due to being uninitialized
    KVM: VMX: Add ept_sync_context in flush_tlb
    KVM: mmu_shrink: kvm_mmu_zap_page requires slots_lock to be held
    x86: KVM guest: make kvm_smp_prepare_boot_cpu() static
    KVM: SVM: fix suspend/resume support
    KVM: s390: rename private structures
    KVM: s390: Set guest storage limit and offset to sane values
    KVM: Fix memory leak on guest exit
    KVM: s390: dont allocate dirty bitmap
    KVM: move slots_lock acquision down to vapic_exit
    KVM: VMX: Fake emulate Intel perfctr MSRs
    KVM: VMX: Fix a wrong usage of vmcs_config
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (1232 commits)
    iucv: Fix bad merging.
    net_sched: Add size table for qdiscs
    net_sched: Add accessor function for packet length for qdiscs
    net_sched: Add qdisc_enqueue wrapper
    highmem: Export totalhigh_pages.
    ipv6 mcast: Omit redundant address family checks in ip6_mc_source().
    net: Use standard structures for generic socket address structures.
    ipv6 netns: Make several "global" sysctl variables namespace aware.
    netns: Use net_eq() to compare net-namespaces for optimization.
    ipv6: remove unused macros from net/ipv6.h
    ipv6: remove unused parameter from ip6_ra_control
    tcp: fix kernel panic with listening_get_next
    tcp: Remove redundant checks when setting eff_sacks
    tcp: options clean up
    tcp: Fix MD5 signatures for non-linear skbs
    sctp: Update sctp global memory limit allocations.
    sctp: remove unnecessary byteshifting, calculate directly in big-endian
    sctp: Allow only 1 listening socket with SO_REUSEADDR
    sctp: Do not leak memory on multiple listen() calls
    sctp: Support ipv6only AF_INET6 sockets.
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://www.jni.nu/cris:
    [CRISv10] Clean up compressed/misc.c
    [CRISv10] Correct whitespace damage.
    [CRIS] Correct definition of subdirs for install_headers.
    [CRIS] Correct image makefiles to allow using a separate OBJ-directory.
    [CRIS] Build fixes for compressed and rescue images for v10 and v32:
    It looks at least odd to apply spin_unlock to a mutex.
    cris: compile fixes for 2.6.26-rc5

    Linus Torvalds
     
  • As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b,
    alloc_bootmem and related functions never return NULL and always return a
    zeroed region of memory. Thus a NULL test or memset after calls to these
    functions is unnecessary.

    This was fixed using the following semantic patch.
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    expression E;
    statement S;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    (
    - BUG_ON (E == NULL);
    |
    - if (E == NULL) S
    )

    @@
    expression E,E1;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    - memset(E,0,E1);
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Julia Lawall
     
  • As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b,
    alloc_bootmem and related functions never return NULL and always return a
    zeroed region of memory. Thus a NULL test or memset after calls to these
    functions is unnecessary.

    This was fixed using the following semantic patch.
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    expression E;
    statement S;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    (
    - BUG_ON (E == NULL);
    |
    - if (E == NULL) S
    )

    @@
    expression E,E1;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    - memset(E,0,E1);
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Julia Lawall
     
  • It seems the driver was removed back in kernel 2.3 but the options were
    forgotten.

    Reported-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • When the driver was removed back in 2002 the option was forgotten.

    Reported-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Add the missing call to apollo_parse_bootinfo(), which had been lost from a
    big Apollo support patch by Peter De Schrijver in 1999.

    Thanks to Adrian Bunk for noticing!

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global code static:
    - config.c: sun3_bootmem_alloc()
    - config.c: sun3_sched_init()
    - dvma.c: dvma_page()
    - idprom.c: struct Sun_Machines[]
    - mmu_emu.c: struct ctx_alloc[]
    - sun3dvma.c: iommu_use[]
    - sun3ints.c: led_pattern[]
    - remove the unused sbus.c

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch makes the following needlessly global functions static:
    - q40_reset()
    - q40_halt()
    - q40_disable_irqs()
    - q40_gettimeoffset()
    - q40_hwclk()
    - q40_get_ss()
    - q40_set_clock_mmss()

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global code (always) static:
    - baboon.c: struct baboon
    - baboon.c: baboon_irq()
    - config.c: mac_orig_videoaddr
    - config.c: mac_identify()
    - config.c: mac_report_hardware()
    - config.c: mac_debug_console_write()
    - config.c: mac_sccb_console_write()
    - config.c: mac_scca_console_write()
    - config.c: mac_init_scc_port()
    - oss.c: oss_irq()
    - oss.c: oss_nubus_irq()
    - psc.c: psc_debug_dump()
    - psc.c: psc_dma_die_die_die()
    - via.c: rbv_clear
    - remove the unused bootparse.c
    - #if 0 the following unused functions:
    - config.c: mac_debugging_short()
    - config.c: mac_debugging_long()
    - remove the following unused code:
    - config.c: mac_bisize
    - config.c: mac_env
    - config.c: mac_SCC_init_done
    - config.c: mac_SCC_reset_done
    - config.c: mac_init_scca_port()
    - config.c: mac_init_sccb_port()

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global functions (always) static:
    - atari_mfp_console_write()
    - atari_scc_console_write()
    - atari_midi_console_write()
    - atari_init_mfp_port()
    - atari_init_scc_port()
    - atari_init_midi_port()
    - #if 0 the following unused functions:
    - atari_mfp_console_wait_key()
    - atari_scc_console_wait_key()
    - atari_midi_console_wait_key()
    - remove the following unused variables:
    - atari_MFP_init_done
    - atari_SCC_init_done

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - amiints.c: add a proper prototype for amiga_init_IRQ() in
    include/asm-m68k/amigaints.h
    - make the following needlessly global code static:
    - config.c: amiga_model
    - config.c: amiga_psfreq
    - config.c: amiga_serial_console_write()
    - #if 0 the following unused functions:
    - config.c: amiga_serial_puts()
    - config.c: amiga_serial_console_wait_key()
    - config.c: amiga_serial_gets()
    - remove the following unused variable:
    - config.c: amiga_masterclock

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch fixes the following build error:

    ..
    Building modules, stage 2.
    MODPOST 1203 modules
    ERROR: "amiga_vblank" [drivers/video/amifb.ko] undefined!
    ..
    make[2]: *** [__modpost] Error 1

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Unless I miss something that's code for a sparc machine even the sparc
    code no longer supports that got copied to m68k when these files were
    copied.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • It seems to match the intention behind multi_defconfig to make it the
    default defconfig.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • > This is a no-no for those archs that still use -traditional.
    > > I dunno if this is a problem for you at the moment and the
    > > right fix is anyway to nuke -traditional.
    > >
    > > Sam

    Signed-off-by: Mathieu Desnoyers
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers
     
  • Allow no CPU/platform type for allnoconfig
    - Provide a dummy value for FPSTATESIZE if no CPU type was selected
    - Provide a dummy value for NR_IRQS if no platform type was selected
    - Warn the user if no CPU or platform type was selected

    Note: you still cannot build an allnoconfig kernel, as CONFIG_SWAP=n doesn't
    build and we cannot easily fix that
    (http://groups.google.com/group/linux.kernel/browse_thread/thread/d430c78b07e1827b)

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • This patch includes page.h header into linker script that
    allow us to use PAGE_SIZE macro instead of numeric constant

    Signed-off-by: Cyrill Gorcunov
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Cyrill Gorcunov
     
  • This patch removes CVS keywords that weren't updated for a long time
    from comments.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Fix MN10300's serial port driver to get at its tty_struct as this moved
    from struct uart_info into struct tty_port in patch:

    Signed-off-by: David Howells
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    David Howells