16 Jun, 2009

1 commit


15 Jun, 2009

8 commits


13 Jun, 2009

2 commits

  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (30 commits)
    [S390] wire up sys_perf_counter_open
    [S390] wire up sys_rt_tgsigqueueinfo
    [S390] ftrace: add system call tracer support
    [S390] ftrace: add function graph tracer support
    [S390] ftrace: add function trace mcount test support
    [S390] ftrace: add dynamic ftrace support
    [S390] kprobes: use probe_kernel_write
    [S390] maccess: arch specific probe_kernel_write() implementation
    [S390] maccess: add weak attribute to probe_kernel_write
    [S390] profile_tick called twice
    [S390] dasd: forward internal errors to dasd_sleep_on caller
    [S390] dasd: sync after async probe
    [S390] dasd: check_characteristics cleanup
    [S390] dasd: no High Performance FICON in 31-bit mode
    [S390] dcssblk: revert devt conversion
    [S390] qdio: fix access beyond ARRAY_SIZE of irq_ptr->{in,out}put_qs
    [S390] vmalloc: add vmalloc kernel parameter support
    [S390] uaccess: use might_fault() instead of might_sleep()
    [S390] 3270: lock dependency fixes
    [S390] 3270: do not register with tty_register_device
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
    add generic lib/checksum.c
    asm-generic: add a generic uaccess.h
    asm-generic: add generic NOMMU versions of some headers
    asm-generic: add generic atomic.h and io.h
    asm-generic: add legacy I/O header files
    asm-generic: add generic versions of common headers
    asm-generic: make bitops.h usable
    asm-generic: make pci.h usable directly
    asm-generic: make get_rtc_time overridable
    asm-generic: rename page.h and uaccess.h
    asm-generic: rename atomic.h to atomic-long.h
    asm-generic: add a generic unistd.h
    asm-generic: add generic ABI headers
    asm-generic: add generic sysv ipc headers
    asm-generic: introduce asm/bitsperlong.h
    asm-generic: rename termios.h, signal.h and mman.h

    Linus Torvalds
     

12 Jun, 2009

4 commits

  • This patch allows a virtio driver to use VIRTIO_DEV_ANY_ID for the
    device id. This will be used by a test module that can be bound to
    any virtio device.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Rusty Russell

    Christian Borntraeger
     
  • Fixes a merge conflict against the x86 tree caused by a fix to
    atomic.h which I renamed to atomic_long.h.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Dynamic ftrace support for s390.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • A new architecture should only define a minimal set of system
    calls while still providing the full functionality. This version
    of unistd.h has gone through intensive review to make sure that
    by default it only enables syscalls that do not already have
    a more featureful replacement.

    It is modeled after the x86-64 version of unistd.h, which unifies
    the syscall number definition and the actual system call table
    in a single file, in order to keep them synchronized much more
    easily.

    This first version still keeps legacy system call definitions
    around, guarded by various #ifdefs, and with numbers larger
    than 1024. The idea behind this is to make it easier for
    new architectures to transition from a full list to the reduced
    set. In particular, the new microblaze architecture that should
    migrate to using the generic ABI headers can at least use an
    existing uClibc source tree without major rewrites during the
    conversion.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

11 Jun, 2009

2 commits

  • * 'tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (244 commits)
    Revert "x86, bts: reenable ptrace branch trace support"
    tracing: do not translate event helper macros in print format
    ftrace/documentation: fix typo in function grapher name
    tracing/events: convert block trace points to TRACE_EVENT(), fix !CONFIG_BLOCK
    tracing: add protection around module events unload
    tracing: add trace_seq_vprint interface
    tracing: fix the block trace points print size
    tracing/events: convert block trace points to TRACE_EVENT()
    ring-buffer: fix ret in rb_add_time_stamp
    ring-buffer: pass in lockdep class key for reader_lock
    tracing: add annotation to what type of stack trace is recorded
    tracing: fix multiple use of __print_flags and __print_symbolic
    tracing/events: fix output format of user stack
    tracing/events: fix output format of kernel stack
    tracing/trace_stack: fix the number of entries in the header
    ring-buffer: discard timestamps that are at the start of the buffer
    ring-buffer: try to discard unneeded timestamps
    ring-buffer: fix bug in ring_buffer_discard_commit
    ftrace: do not profile functions when disabled
    tracing: make trace pipe recognize latency format flag
    ...

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

    * 'x86-kbuild-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (46 commits)
    x86, boot: add new generated files to the appropriate .gitignore files
    x86, boot: correct the calculation of ZO_INIT_SIZE
    x86-64: align __PHYSICAL_START, remove __KERNEL_ALIGN
    x86, boot: correct sanity checks in boot/compressed/misc.c
    x86: add extension fields for bootloader type and version
    x86, defconfig: update kernel position parameters
    x86, defconfig: update to current, no material changes
    x86: make CONFIG_RELOCATABLE the default
    x86: default CONFIG_PHYSICAL_START and CONFIG_PHYSICAL_ALIGN to 16 MB
    x86: document new bzImage fields
    x86, boot: make kernel_alignment adjustable; new bzImage fields
    x86, boot: remove dead code from boot/compressed/head_*.S
    x86, boot: use LOAD_PHYSICAL_ADDR on 64 bits
    x86, boot: make symbols from the main vmlinux available
    x86, boot: determine compressed code offset at compile time
    x86, boot: use appropriate rep string for move and clear
    x86, boot: zero EFLAGS on 32 bits
    x86, boot: set up the decompression stack as early as possible
    x86, boot: straighten out ranges to copy/zero in compressed/head*.S
    x86, boot: stylistic cleanups for boot/compressed/head_64.S
    ...

    Fixed trivial conflict in arch/x86/configs/x86_64_defconfig manually

    Linus Torvalds
     

10 Jun, 2009

23 commits

  • Various cleanups of scripts/kernel-doc:
    - don't use **/ as an ending kernel-doc block since it's not preferred;
    - typos/spellos
    - add whitespace around ==, after comma, & around . operator;

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Randy Dunlap
     
  • When we had code like this in a header unifdef failed to
    deduct that the expression was always false - and we had code exported
    that was not intended for userspace.

    #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
    int a;
    #endif

    This commit implment support in unidef which allows it to work out if
    an #if expression always evaluates true or false for symbols which
    are being undefined/always defined.

    The patch is slightly more complicated than I'd hoped because unifdef
    needs to see lines fully evaluated - doing otherwise causes it to
    mark the line as "dirty" and copy it over no matter what.

    Signed-off-by: Russell King
    Signed-off-by: Sam Ravnborg

    Russell King
     
  • 'extern' checking information is not clear, refine it.
    Plus, fix a comment.

    Signed-off-by: WANG Cong
    [sam: redid the extern error message]
    Acked-by: Arnd Bergmann
    Signed-off-by: Sam Ravnborg

    Amerigo Wang
     
  • I'm trying to install kernel headers to build a cross-toolchain, but got
    the following:

    make ARCH=arm
    INSTALL_HDR_PATH=/work/psl/eldk-builds/arm-2009-04-21/work/var/tmp/crosstool-0.43-3-root/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/
    +arm-linux-gnueabi/arm-linux-gnueabi/
    headers_check
    ...
    CHECK include/linux/raid (2 files)
    CHECK include/linux/spi (1 files)
    CHECK include/linux/sunrpc (1 files)
    CHECK include/linux/tc_act (6 files)
    CHECK include/linux/tc_ematch (4 files)
    CHECK include/linux/usb (8 files)
    make[2]: execvp: /bin/sh: Argument list too long
    make[2]: ***
    [/work/psl/eldk-builds/arm-2009-04-21/work/var/tmp/crosstool-0.43-3-root/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueab
    +i/arm-linux-gnueabi//include/linux/.check]
    Error 127
    make[1]: *** [linux] Error 2
    make: *** [headers_check] Error 2
    ->

    Introduce use of xargs to fix this.

    Signed-off-by: Sergei Poselenov
    Cc: Wolfgang Denk
    Signed-off-by: Sam Ravnborg

    Sergei Poselenov
     
  • The '-e' option to echo and brace expansion are not guaranteed to be supported
    by a POSIX-compliant /bin/sh (e.g. dash)

    Signed-off-by: dann frazier
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    dann frazier
     
  • As requested by Guennadi Liakhovetski

    Cc: Guennadi Liakhovetski
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • Correct the regular expression in scripts/headers_check.pl to include '_'
    as a valid character in the class; otherwise, the check will report a
    "leaked" symbol of CONFIG_A_B_C as merely CONFIG_A.

    This patch will make no difference whatsoever in the current kernel tree
    as the call to the perl routine that does that check is currently
    commented out:

    &check_include();
    &check_asm_types();
    &check_sizetypes();
    &check_prototypes();
    # Dropped for now. Too much noise &check_config();

    However, I noticed that problem when I was building the yum downloadable
    kernel source rpm for fedora 11 (beta), which *does* run that check, and
    that's where the problem became obvious.

    Signed-off-by: Robert P. J. Day
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Robert P. J. Day
     
  • Regardless of KCONFIG_AUTOCONFIG, the filename written as a Make target
    into "include/config/auto.conf.cmd" was always the default one.

    Of course this doesn't make it work for the Kernel kbuild system, since
    there the filename is hardcoded at several places in the Makefiles.

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • Rather than hardcoding ".config" use conf_get_configname(), which also
    respects the environment variable KCONFIG_CONFIG.

    This fixes "make silentoldconfig" when KCONFIG_CONFIG is used and also
    suggests the given filename for "Load" and "Save as" in qconf.

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • QApplication::desktop() returns a pointer to QDesktopWidget, not to
    QWidget.

    Fixes the following compiler error after a quick conversion with 'qt3to4',
    which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2.

    scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()':
    scripts/kconfig/qconf.cc:1289: error: cannot convert 'QDesktopWidget*' to 'QWidget*' in initialization

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • They are defined in the 'Qt' namespace.

    Fixes the following compiler errors after a quick conversion with 'qt3to4',
    which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2.

    scripts/kconfig/qconf.cc: In member function 'virtual void ConfigLineEdit::keyPressEvent(QKeyEvent*)':
    scripts/kconfig/qconf.cc:311: error: 'Key_Escape' was not declared in this scope
    scripts/kconfig/qconf.cc:313: error: 'Key_Return' was not declared in this scope
    scripts/kconfig/qconf.cc:314: error: 'Key_Enter' was not declared in this scope

    scripts/kconfig/qconf.cc: In member function 'virtual void ConfigList::keyPressEvent(QKeyEvent*)':
    scripts/kconfig/qconf.cc:653: error: 'Key_Escape' was not declared in this scope
    scripts/kconfig/qconf.cc:666: error: 'Key_Return' was not declared in this scope
    scripts/kconfig/qconf.cc:667: error: 'Key_Enter' was not declared in this scope
    scripts/kconfig/qconf.cc:681: error: 'Key_Space' was not declared in this scope
    scripts/kconfig/qconf.cc:684: error: 'Key_N' was not declared in this scope
    scripts/kconfig/qconf.cc:687: error: 'Key_M' was not declared in this scope
    scripts/kconfig/qconf.cc:690: error: 'Key_Y' was not declared in this scope

    scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()':
    scripts/kconfig/qconf.cc:1329: error: 'CTRL' was not declared in this scope
    scripts/kconfig/qconf.cc:1329: error: 'Key_Q' was not declared in this scope
    scripts/kconfig/qconf.cc:1331: error: 'Key_L' was not declared in this scope
    scripts/kconfig/qconf.cc:1333: error: 'Key_S' was not declared in this scope
    scripts/kconfig/qconf.cc:1340: error: 'Key_F' was not declared in this scope

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • They were used as QSplitter::Horizontal resp. QSplitter::Vertical, but
    are defined in the 'Qt' namespace.

    Fixes the following compiler errors after a quick conversion with 'qt3to4',
    which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2.

    scripts/kconfig/qconf.cc: In constructor 'ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow*, const char*)':
    scripts/kconfig/qconf.cc:1213: error: 'Vertical' is not a member of 'QSplitter'

    scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()':
    scripts/kconfig/qconf.cc:1304: error: 'Horizontal' is not a member of 'QSplitter'
    scripts/kconfig/qconf.cc:1311: error: 'Vertical' is not a member of 'QSplitter'

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • These compiler warnings occure when adding -Wall to HOSTCXXFLAGS in
    /Makefile

    scripts/kconfig/qconf.h: In constructor ‘ConfigInfoView::ConfigInfoView(QWidget*, const char*)’:
    scripts/kconfig/qconf.h:274: warning: ‘ConfigInfoView::menu’ will be initialized after
    scripts/kconfig/qconf.h:273: warning: ‘symbol* ConfigInfoView::sym’
    scripts/kconfig/qconf.cc:922: warning: when initialized here

    scripts/kconfig/qconf.cc: In member function ‘void ConfigMainWindow::setMenuLink(menu*)’:
    scripts/kconfig/qconf.cc:1498: warning: enumeration value ‘menuMode’ not handled in switch
    scripts/kconfig/qconf.cc:1498: warning: enumeration value ‘listMode’ not handled in switch

    scripts/kconfig/qconf.cc: In member function ‘void ConfigMainWindow::saveSettings()’:
    scripts/kconfig/qconf.cc:1664: warning: enumeration value ‘menuMode’ not handled in switch
    scripts/kconfig/qconf.cc:1664: warning: enumeration value ‘listMode’ not handled in switch

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • - getcwd returns path without a slash at the end, add the slash
    - add KBUILD_SRC env support, so that we can specify path for
    kernel (to know where scripts/kernel-doc resides) and SRCTREE
    (for searching files referenced in .tmpl) separately

    [v2]
    - use KBUILD_SRC instead of a newly introduced environment variable

    Signed-off-by: Jiri Slaby
    Acked-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Jiri Slaby
     
  • 'drop' variable is unused.

    'ppc' and 'sparc64' directories don't exist in arch/,
    and I think their headers can be well exported now, so
    just remove them.

    Signed-off-by: WANG Cong
    Signed-off-by: Sam Ravnborg

    Amerigo Wang
     
  • - add .init.rodata to INIT_DATA, and group all initconst flavors
    together
    - move strings generated from __setup_param() into .init.rodata
    - add .*init.rodata to modpost's sets of init sections
    - make modpost warn about references between meminit and cpuinit
    as well as memexit and cpuexit sections (as CPU and memory
    hotplug are independently selectable features)

    Signed-off-by: Jan Beulich
    Signed-off-by: Sam Ravnborg

    Jan Beulich
     
  • Latest Debian policy is 3.8.1.
    Even if we are not yet compliant to it strive for the latest.

    Signed-off-by: maximilian attems
    Signed-off-by: Frans Pop
    Acked-by: Andres Salomon
    Signed-off-by: Sam Ravnborg

    maximilian attems
     
  • Section "base" has been removed, the base is defined by Priority field.

    For Squeeze the section should be "kernel", but as that's not yet
    supported for Sarge and Etch we stay with admin for now.

    Signed-off-by: maximilian attems
    Signed-off-by: Frans Pop
    Cc: Andres Salomon
    Signed-off-by: Sam Ravnborg

    maximilian attems
     
  • kernel-image naming has been dropped for the Lenny release
    and was only transitional for Etch.

    As it builds modules it provides linux-modules-$version.

    Signed-off-by: maximilian attems
    Signed-off-by: Frans Pop
    Cc: Andres Salomon
    Signed-off-by: Sam Ravnborg

    maximilian attems
     
  • The binary package that make deb-pkg creates is a linux-image.
    To be fixed may also be the addition of $DEB_ARCH.

    Signed-off-by: maximilian attems
    Signed-off-by: Frans Pop
    Cc: Andres Salomon
    Signed-off-by: Sam Ravnborg

    maximilian attems