- 19 Aug, 2004 4 commits
-
-
Sam Ravnborg authored
Using separate assignment for CHECKFLAGS allows convenient redefinition of CHECK on the command line: make CHECK=~/bin64/sparse C=2 to use a special 64 bit version. Introduced usage in all archs that assined values to CHECK. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
Chris Wedgwood <cw@f00f.org> wrote: > P.S. I'd love to see the rules in scripts/Makefile.* documented. I > would offer a patch for this but I don't understand the rules > myself... And provided the following patch, slightly modified by me. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Coywolf Qi Hunt authored
Makefile: remove obsolete HEAD arch/cris/Makefile: replace HEAD with assignment to head-y Signed-off-by: Coywolf Qi Hunt <coywolf@greatcn.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
Russell King reported that some gcc / bin-utils combination may result in undefined symbols in vmlinux and implemented a check for that. Though the cause is very valid this check has proved to be a real pain for other users, especially sparc and um. Short term a similar check is asked to be implemented in arch/arm*/Makefile and long-term to bail out if too old gcc / bin-utils is used. Long term plan awaits a new gcc / bin-utils release. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
- 18 Aug, 2004 3 commits
-
-
Randy Dunlap authored
Correct gcc warnings for function return type, printf argument types, and signed/unsigned compare. Cross-compiled with no warnings/errors for alpha, ia64, ppc32, ppc64, sparc32, sparc64, x86_64, and native on i386. (-W -Wall) [pre-built tool chains are available from: http://developer.osdl.org/dev/plm/cross_compile/ ] Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
With make C=2 sparse ($(CHECK)) will be run on all .c files also if they do not need to be compiled. Usefull to run sparse on a fully compiled kernel tree. Implemented on request from Al Viro (although he liked to be able to run sparse without building any source). Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
Fixes the following error: make: *** No rule to make target `.tmp_kallsyms2.S', needed by `.tmp_kallsyms2.o'. Problem is that make does not know it have to visit scripts before it can use $(KALLSYMS) $(KALLSYMS) is a dependency to .tmp_kallsyms% but make suddenly complains about .tmp_kallsyms2 for some reasons. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
- 16 Aug, 2004 1 commit
-
-
Sam Ravnborg authored
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
- 15 Aug, 2004 11 commits
-
-
Sam Ravnborg authored
Only warn if $(host-progs) and $(hostptogs-y) are not equal. This allows external modules to use: hostprogs-y := file ... host-progs := $(hostprogs-y) This is backwards compatible and will not warn. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
Localize Kconfig debug options into one file (lib/Kconfig.debug) for easier maintenance, searching, and menu-building. Updated to 2.6.8. Summary of changes: . localizes the following symbols in lib/Kconfig.debug: DEBUG_KERNEL, MAGIC_SYSRQ, DEBUG_SLAB, DEBUG_SPINLOCK, DEBUG_SPINLOCK_SLEEP, DEBUG_HIGHMEM, DEBUG_BUGVERBOSE, DEBUG_INFO and FRAME_POINTER for some instances of it (if it's freely user-selectable) but not for the cases where it's forced or it depends on some other options. . adds DEBUG_KERNEL requirement to some DEBUG_vars; . remove KALLSYMS from S390-specific kernel hacking menu; use KALLSYMS in the EMBEDDED menu instead; . add CRIS and M68KNOMMU symbols for use in lib/Kconfig.debug; . eliminate duplicate "General setup" labels in sparc64 config; . whitespace cleanup; . fixed a few trival typos; Portions of the original patch were also done by Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl> Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Coywolf Qi Hunt authored
This patch removes unnecessary wildcard on KBUILD_OUTPUT Signed-off-by: Coywolf Qi Hunt <coywolf@greatcn.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
into mars.ravnborg.org:/home/sam/bk/kbuild
-
Sam Ravnborg authored
Needed now the lds files got renamed Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
-
Sam Ravnborg authored
For all architectures use the new name for linker definition scripts. Based on patch from: Dan Aloni <da-x@colinux.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
When building a kernel on platforms where the filesytem do not distingush between upper and lower case the rule: .S -> .s did not work. In a normal build this is only used for linker scripts. So create a separate rule for .lds files, and use generic cpp flags. Patch from: Dan Aloni <da-x@colinux.org> Modified to use cpp flags + added documentation. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
From: Pavel Roskin <proski@gnu.org> The recent fixes for the external module build have fixed the major breakage, but they left one annoyance unfixed. If CONFIG_MODVERSIONS is disabled, a warning is printed for every exported symbol that is has no CRC. For instance, I see this when compiling the standalone Orinoco driver on Linux 2.6.6-rc3: *** Warning: "__orinoco_down" [/usr/local/src/orinoco/spectrum_cs.ko] has no CRC! *** Warning: "hermes_struct_init" [/usr/local/src/orinoco/spectrum_cs.ko] has no CRC! *** Warning: "free_orinocodev" [/usr/local/src/orinoco/spectrum_cs.ko] has no CRC! [further warnings skipped] I have found that the "-i" option for modpost is used for external builds, whereas the internal modules use "-o". The "-i" option causes read_dump() in modpost.c to be called. This function sets "modversions" variable under some conditions that I don't understand. The comment before the modversions declarations says: "Are we using CONFIG_MODVERSIONS?" Apparently modpost fails to answer this question. I think it's better to use an explicit option rather than a kludge. The attached patch adds a new option "-m" that is specified if and only if CONFIG_MODVERSIONS is enabled. The patch has been successfully tested both with and without CONFIG_MODVERSIONS. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Alexey Dobriyan authored
This patch teaches scripts/kernel-doc to print descriptions of comma separated variables correctly instead of ignoring them. Tested on 'make pdfdocs' and 'scripts/kernel-doc -text test.c'. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Sam Ravnborg authored
into mars.ravnborg.org:/home/sam/bk/kbuild
-
- 13 Aug, 2004 16 commits
-
-
Sam Ravnborg authored
David S. Miller <davem@redhat.com> wrote: Shouldn't we be grepping __crc_ symbols out of the System.map file? For one thing, these can confuse readprofile. It's algorithm is to start at _stext, then stop when it sees a line in the System.map which is not text (mode is one of 'T' 't' 'W' or 'w') It will exit early if there are some intermixed __crc_* things in there (since they are are mode 'A'). For example, in my current sparc64 kernel I have this: 00000000004cef80 t do_split 00000000004cf2a0 t add_dirent_to_buf 00000000004cf5a7 A __crc_init_special_inode 00000000004cf640 t make_indexed_dir 00000000004cf900 t ext3_add_entry So no symbols after add_dirent_to_buf will be shown in the profiling output of readprofile. Implementation ported to mksysmap by Sam. Included two System.map related fixes: - Print "SYSMAP System.map" during build - Sort symbols in System.map Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-
Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Linus Torvalds authored
-
Jeff Garzik authored
Fix stupid thinkos in the fcntl f_op removal code.
-
Linus Torvalds authored
Tssk.
-
Linus Torvalds authored
Pointed out by Kai Makisara.
-
Len Brown authored
into intel.com:/home/lenb/src/linux-acpi-test-2.6.8
-
Len Brown authored
-
Len Brown authored
Fixes two common boot failures due to buggy SMM BIOS code SMP boot crash if SMI_CMD=ACPI written from CPU1 http://bugzilla.kernel.org/show_bug.cgi?id=2941 laptop crash due to LAPIC timer before SMI_CMD=ACPI http://bugzilla.kernel.org/show_bug.cgi?id=1269
-
Linus Torvalds authored
-
Len Brown authored
into intel.com:/home/lenb/src/linux-acpi-test-2.6.8
-
Len Brown authored
-
Matthew Wilcox authored
Update lasi 82596 driver: - Fix boot messages (Helge Deller) - Whitespace and __FILE__ usage (Joel Soete) - 64-bit compile warning fixes (James Bottomley)
-
Stefan Meyknecht authored
This trivial fix allows mounting MO-drives readwrite. Acked by Jens. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
- __PAGE_OFFSET is 0x10000000 (Randolph Chung) - PA8800 support (Grant Grundler) - debuglocks (Thibaut Varene) - PDC chassis disabling (Thibaut Varene) - Distinguish between Dinos in request_irq (Thibaut Varene) - Document interrupt registers (Randolph Chung) - Revamp CONFIG_DISCONTIGMEM support (Randolph Chung) - Remove STI console warning and special casing (Randolph Chung) - n4000 defconfig (Randolph Chung) - iosapic fixes (Bjorn Helgaas) - Fix a bug in entry.S where pa_dbit_lock was being trashed (Randolph Chung) - SMP support (Randolph Chung, Grant Grundler, James Bottomley) - Clear the pte in the fault handler (Joel Soete) - Change _exit prototype (Carlos O'Donell) - Better unwinding support (Randolph Chung) - GCC 3.4 fixes (Carlos O'Donell, Randolph Chung)
-
Matthew Wilcox authored
The newly introduced ->fcntl file_operation is badly thought out, not to mention undocumented. This patch replaces it with two better defined operations -- check_flags and dir_notify. Any other fcntl()s that filesystems are interested in can have their own properly typed f_op method when they need it. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 12 Aug, 2004 3 commits
-
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 13 Aug, 2004 2 commits
-
-
Marc Singer authored
Patch from Marc Singer The work already done to rectify the timer code initialization missed a necessary change. This patch adds a timer initialization function to the LPD7A400 machine type. It also makes a small correction to the kernel configuration that is out of step with the machine specific Kconfig.
-
Marc Singer authored
Patch from Marc Singer This patch aligns the lh7a40x port with the updated structure of IDE drivers. It also removes an unused FIQ handler. This patch is made in order to get the lh7a40x port to build.
-