09 May, 2007

1 commit

  • Make a global linux/const.h header file instead of having multiple,
    per-arch files, and convert current users of asm/const.h to use
    linux/const.h.

    Built on x86_64 and sparc64.

    [akpm@linux-foundation.org: fix include/asm-x86_64/Kbuild]
    Signed-off-by: Randy Dunlap
    Signed-off-by: David S. Miller
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

03 May, 2007

2 commits

  • This patch is based on Rusty's recent cleanup of the EFLAGS-related
    macros; it extends the same kind of cleanup to control registers and
    MSRs.

    It also unifies these between i386 and x86-64; at least with regards
    to MSRs, the two had definitely gotten out of sync.

    Signed-off-by: H. Peter Anvin
    Signed-off-by: Andi Kleen

    H. Peter Anvin
     
  • This patch makes pgtable.h and page.h safe to include
    in assembly files like head.S. Allowing us to use
    symbolic constants instead of hard coded numbers when
    refering to the page tables.

    This patch copies asm-sparc64/const.h to asm-x86_64 to
    get a definition of _AC() a very convinient macro that
    allows us to force the type when we are compiling the
    code in C and to drop all of the type information when
    we are using the constant in assembly. Previously this
    was done with multiple definition of the same constant.
    const.h was modified slightly so that it works when given
    CONFIG options as arguments.

    This patch adds #ifndef __ASSEMBLY__ ... #endif
    and _AC(1,UL) where appropriate so the assembler won't
    choke on the header files. Otherwise nothing
    should have changed.

    AK: added const.h to exported headers to fix headers_check

    Signed-off-by: Eric W. Biederman
    Signed-off-by: Vivek Goyal
    Signed-off-by: Andi Kleen

    Vivek Goyal
     

08 Dec, 2006

2 commits

  • * 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6: (156 commits)
    [PATCH] x86-64: Export smp_call_function_single
    [PATCH] i386: Clean up smp_tune_scheduling()
    [PATCH] unwinder: move .eh_frame to RODATA
    [PATCH] unwinder: fully support linker generated .eh_frame_hdr section
    [PATCH] x86-64: don't use set_irq_regs()
    [PATCH] x86-64: check vector in setup_ioapic_dest to verify if need setup_IO_APIC_irq
    [PATCH] x86-64: Make ix86 default to HIGHMEM4G instead of NOHIGHMEM
    [PATCH] i386: replace kmalloc+memset with kzalloc
    [PATCH] x86-64: remove remaining pc98 code
    [PATCH] x86-64: remove unused variable
    [PATCH] x86-64: Fix constraints in atomic_add_return()
    [PATCH] x86-64: fix asm constraints in i386 atomic_add_return
    [PATCH] x86-64: Correct documentation for bzImage protocol v2.05
    [PATCH] x86-64: replace kmalloc+memset with kzalloc in MTRR code
    [PATCH] x86-64: Fix numaq build error
    [PATCH] x86-64: include/asm-x86_64/cpufeature.h isn't a userspace header
    [PATCH] unwinder: Add debugging output to the Dwarf2 unwinder
    [PATCH] x86-64: Clarify error message in GART code
    [PATCH] x86-64: Fix interrupt race in idle callback (3rd try)
    [PATCH] x86-64: Remove unwind stack pointer alignment forcing again
    ...

    Fixed conflict in include/linux/uaccess.h manually

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Make the contents of the userspace asm/setup.h header consistent on all
    architectures:

    - export setup.h to userspace on all architectures
    - export only COMMAND_LINE_SIZE to userspace
    - frv: move COMMAND_LINE_SIZE from param.h
    - i386: remove duplicate COMMAND_LINE_SIZE from param.h
    - arm:
    - export ATAGs to userspace
    - change u8/u16/u32 to __u8/__u16/__u32

    Signed-off-by: Adrian Bunk
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

07 Dec, 2006

1 commit


26 Sep, 2006

1 commit

  • The use of SEGMENT_RPL_MASK in the i386 ptrace.h introduced by
    x86-allow-a-kernel-to-not-be-in-ring-0.patch broke the UML build, as UML
    includes the underlying architecture's ptrace.h, but has no easy access to the
    x86 segment definitions.

    Rather than kludging around this, as in the past, this patch splits the
    userspace-usable parts, which are the bits that UML needs, of ptrace.h into
    ptrace-abi.h, which is included back into ptrace.h. Thus, there is no net
    effect on i386.

    As a side-effect, this creates a ptrace header which is close to being usable
    in /usr/include.

    x86_64 is also treated in this way for consistency. There was some trailing
    whitespace there, which is cleaned up.

    Signed-off-by: Jeff Dike
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

19 Sep, 2006

1 commit


18 Jun, 2006

1 commit