12 Dec, 2009

2 commits


26 Jul, 2008

1 commit

  • Adjust the asm symlink support so we do not create the
    symlink unless really needed.
    We check the precense of include/asm-$ARCH by checking
    for the system.h file. We may end up with a stale directory
    so it is not enough to check if the directory is present.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

20 May, 2008

1 commit

  • Since 97965478a66fbdf0f4ad5e4ecc4828f0cb548a45 ("mm: Get rid of __ZONE_COUNT")
    mmzone.h includes bounds.h.
    Calling make clean after make prepare removes bounds.h
    again so when building external modules this fails.

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

    Jan Blunck
     

28 Apr, 2008

2 commits

  • Add the ability to pass comments into asm-offsets.h by generating asm
    output like

    -># comment line

    Mips needs this feature to preserve the comments that are in
    asm-mips/asm-offsets.h right now.

    Then remove the special handling for mips from Kbuild and convert mips to use
    the new string to include the comments.

    Cc: Ralf Baechle
    Signed-off-by: Christoph Lameter
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • The use of enums create constants that are not available to the preprocessor
    when building the kernel (f.e. MAX_NR_ZONES).

    Arch code already has a way to export constants calculated to the preprocessor
    through the asm-offsets.c file. Generate something similar for the core
    kernel through kbuild.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Christoph Lameter
    Cc: Andy Whitcroft
    Cc: KAMEZAWA Hiroyuki
    Cc: KOSAKI Motohiro
    Cc: Rik van Riel
    Cc: Mel Gorman
    Cc: Jeremy Fitzhardinge
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     

11 Oct, 2007

2 commits


17 Jul, 2007

1 commit


03 May, 2007

1 commit

  • Most system calls seems to get added to i386 first. This patch
    automatically generates a warning for any new system call which is
    implemented on i386 but not the architecture currently being compiled.
    On PowerPC at the moment, for example, it results in these warnings:
    init/missing_syscalls.h:935:3: warning: #warning syscall sync_file_range not implemented
    init/missing_syscalls.h:947:3: warning: #warning syscall getcpu not implemented
    init/missing_syscalls.h:950:3: warning: #warning syscall epoll_pwait not implemented

    The file scripts/checksyscalls.sh list a number of legacy system calls
    that are ignored because they only makes sense on i386 systems.

    Other contributors to this patch are Russell King
    and Stéphane Jourdois

    Signed-off-by: David Woodhouse
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

25 Sep, 2006

1 commit

  • No file in rpm binary package should have the RPM_BUILD_ROOT string in it.
    To simplify building of external modules, our kernel-source package
    contains some temp files from the Kbuild system. asm/asm-offsets.h is one
    of the files that contains the absolute path if make O=$O is used.

    * This file was generated by /var/tmp/kernel-source-2.6.14_rc4-build/usr/src/linux-2.6.14-rc4-2/Kbuild

    Remove the $RPM_BUILD_ROOT string in the shipped tempfile.

    Signed-off-by: Olaf Hering
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Olaf Hering
     

05 Apr, 2006

1 commit


09 Jan, 2006

1 commit


11 Sep, 2005

1 commit


10 Sep, 2005

2 commits

  • Removed obsolete stuff from arch makefile.
    mips had a special rule for generating asm-offsets.h so preserved it
    using an architecture specific hook in top-level Kbuild file.
    Renamed .h file to asm-offsets.h

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • Building asm-offsets.h has been moved to a seperate Kbuild file
    located in the top-level directory. This allow us to share the
    functionality across the architectures.

    The old rules in architecture specific Makefiles will die
    in subsequent patches.

    Furhtermore the usual kbuild dependency tracking is now used
    when deciding to rebuild asm-offsets.s. So we no longer risk
    to fail a rebuild caused by asm-offsets.c dependencies being touched.

    With this common rule-set we now force the same name across
    all architectures. Following patches will fix the rest.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg