13 Oct, 2007
20 commits
-
Remove the following redundant and never or rarely used kconfig syntax:
- "def_boolean" (same as "def_bool")
- "requires" (same as "depends on")
- "depends" (same as "depends on")This patch contains the code changes and Kconfig updates.
The shipped files are in next patch to let actual codechange stand out.Signed-off-by: Adrian Bunk
Cc: "Randy.Dunlap"
Cc: Bryan Wu
Cc: Paul Mackerras
Cc: Benjamin Herrenschmidt
Cc: Dmitry Torokhov
Cc: "John W. Linville"
Cc: Roman Zippel
Cc: Richard Purdie
Signed-off-by: Andrew Morton
Signed-off-by: Sam Ravnborg -
Jan Engelhardt reported:
You can cause a recursion in kbuild/make with the following:make O=$PWD kernel/time.o
make mrproperOf course no one would use O=$PWD (that's just the testcase),
but this happened too often:/ws/linux/linux-2.6.23$ make O=/ws/linux/linux-2.6.23 kernel/time.o
(Oops - should have been O=/ws/linux/obj-2.6.23!)Fixed by an explicit test for this case - we error
out if output directory and source directory are the same.Tested-by: Jan Engelhardt
Signed-off-by: Sam Ravnborg -
With specific configurations requesting help for certain
menu lines caused menuconfig to crash.
This was tracked down to a null pointer bug.
Thanks to "Miles Lane" for inital reporting
and to Gabriel C for the backtrace
that helped me locating the bug.Signed-off-by: Sam Ravnborg
-
Matěj Laitl noticed that there was no way
to distingush between comments and un-selectable menu lines.
This patch marks comments with *** comment ***Cc: Matěj Laitl
Signed-off-by: Sam Ravnborg -
Previously kbuild choked over the following:
obj-y += ../../../arch/i386/kernel/bootflag.oThis has resulted in some rather ugly workarounds in
current x86_64 tree.
This patch fixes kbuild to allow the above and enable
potential cleanups in x86_64 and maybe in other places.Signed-off-by: Sam Ravnborg
-
Changing the global CPPFLAGS is not the recommended way
to add additional include dirs.
Changed to use EXTRA_CFLAGS.Signed-off-by: Sam Ravnborg
Acked-by: Jes Sorensen -
- fix typos/spellos in docproc.c and Makefile
- add a little whitespace {while, switch} (coding style)
- use NULL instead of 0 for pointer testingSigned-off-by: Randy Dunlap
Signed-off-by: Sam Ravnborg -
This patch updates the _shipped files for genksyms.
See previous patch for actual functional changes.Signed-off-by: Sam Ravnborg
-
Recently the __extension__ keyword has been introduced in the kernel.
Teach genksyms about this keyword so it can generate correct CRC for
exported symbols that uses a symbol marked __extension__.
For now only the typedef variant:__extension__ typedef ...
is supported.
Later we may add more variants as needed.This patch contains the actual source file changes. The
following patch will hold modifications to the generated
files (*_shipped) and only after the second patch the fix
has effect.Signed-off-by: Sam Ravnborg
-
When enabling GENERATE_PARSER the genksyms Makefile
failed to create _shipped version of generated files.Modifying keywords.gperf failed to cause a rebuild
of genksyms.
Fixed by specifying keywowrds .c as explicit prerequisite
of the lexer.Signed-off-by: Sam Ravnborg
-
Currently scripts/ver_linux prints "Binutils" or other random
information for the version number in the "binutils" output line
on some distributions. This patch corrects that.When I initially submitted a patch to correct that, I was not aware
that the output from "ld -v" could differ as much as it turned out
it can, so my original fix turned out to not cover all bases.
This patch works correctly with all the different "ld -v" output
that people posted in replys to my first patch, so it should be a
clear win over what we have currently.Signed-off-by: Jesper Juhl
Signed-off-by: Sam Ravnborg -
Fix ver_linux glibc version printing (for real this time)
Alexey Dobriyan reported that commit
4a645d5ea65baaa5736bcb566673bf4a351b2ad8
broke ver_linux when glibc has a 3 digit
version number, and proposed a patch.
Al Viro then suggested a simpler way to
solve the problem which I've then simply
put into patch form.Signed-off-by: Alexey Dobriyan
Signed-off-by: Al Viro
Signed-off-by: Jesper Juhl
Signed-off-by: Sam Ravnborg -
Currently, if you call scripts/gcc-version.sh without arguments it will
generate this output :$ sh scripts/gcc-version.sh
scripts/gcc-version.sh: line 12: [: =: unary operator expected
scripts/gcc-version.sh: line 16: -E: command not found
scripts/gcc-version.sh: line 17: -E: command not found
0000Not too pretty. I believe this is an improvement :
$ sh scripts/gcc-version.sh
Error: No compiler specified.
Usage:
scripts/gcc-version.shSigned-off-by: Jesper Juhl
Signed-off-by: Sam Ravnborg -
At the moment, running `make clean` in an external module directory does a
nice job of cleaning up with one exception: it leaves behind Modules.symvers.
Attached patch adds this file to the clean list for external modules.Signed-off-by: Mike Frysinger
Signed-off-by: Sam Ravnborg -
Fix modpost segfault.
Before:
-------
ynezz@ntbk:~/linux-2.6.git$ scripts/mod/modpost vmlinux ath_pci.o
Segmentation faultAfter:
------
ynezz@ntbk:~/linux-2.6.git$ scripts/mod/modpost vmlinux ath_pci.o
FATAL: section header offset=815726848 in file 'ath_pci.o' is bigger then filesize=153968Sam: This seems to warn for a binutils issue. Anyway modpost should not
segfault.Signed-off-by: Petr Stetiar
Signed-off-by: Sam Ravnborg -
Fixes some subtle perl coding bug observed
by Jan Engelhardt
This patch applies on top of Adrian's fix.Signed-off-by: Ram Pai
Acked-by: Jan Engelhardt
Signed-off-by: Sam Ravnborg -
This patch fixes an annoying bug of export_report.pl missing the usages
of some exports.Signed-off-by: Adrian Bunk
Signed-off-by: Sam Ravnborg -
To avoid having to look manually for used but undefined Kconfig variables,
I've written a script which tries do this efficiently, in case all other
attention fail. It accounts for _MODULE suffix and for UML_ prefixes to
Kconfig variable, but otherwise looks for exact matches (i.e. \
Cc: Roman Zippel
Cc: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Sam Ravnborg -
cygwin provides the header file but the lib file needs
to be added manually. A generic fix is to check if
we can compile and link a program that uses gettext()
and if it fails fall back to NO_NLS.International users of cygwin may have to specify
HOST_LOADLIBES := "-lintl" on the make command line.Signed-off-by: Sam Ravnborg
-
The Elfnn_Section is not available on all platforms,
noteworthy are cygwin.
Use the safe replacement _Half.Signed-off-by: Sam Ravnborg
12 Oct, 2007
20 commits
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[ZLIB]: Fix external builds of zlib_inflate code.
[TG3]: Fix APE induced regression
[SKY2]: version 1.19
[SKY2]: use netdevice stats struct
[SKY2]: fiber advertise bits initialization (trivial)
[SKY2]: fix power settings on Yukon XL
[SKY2]: ethtool register reserved area blackout -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Move zlib_inflate_blob() out into it's own source file,
infutil.c, so that things like the powerpc zImage builder
in arch/powerpc/boot/Makefile don't end up trying to
compile it.Signed-off-by: David S. Miller
-
This patch fixes a bug caused by the recent APE support added for 5761
devices.Signed-off-by: Matt Carlson
Signed-off-by: David S. Miller -
Update version to keep track of new changes.
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Use builtin statistics structure from net device.
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Put initialization in sequential order (same as other constants).
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Make sure PCI register for PHY power gets set correctly.
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Make sure and not dump reserved areas of device space.
Touching some of these causes machine check exceptions on boards
like D-Link DGE-550SX.Coding note, used a complex switch statement rather than bitmap
because it is easier to relate the block values to the documentation
rather than looking at a encoded bitmask.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (408 commits)
[POWERPC] Add memchr() to the bootwrapper
[POWERPC] Implement logging of unhandled signals
[POWERPC] Add legacy serial support for OPB with flattened device tree
[POWERPC] Use 1TB segments
[POWERPC] XilinxFB: Allow fixed framebuffer base address
[POWERPC] XilinxFB: Add support for custom screen resolution
[POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
[POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
[POWERPC] 4xx: Kilauea defconfig file
[POWERPC] 4xx: Kilauea DTS
[POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
[POWERPC] 4xx: Add AMCC 405EX support to cputable.c
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
[POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
[POWERPC] 85xx: Killed
[POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
[POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
[POWERPC] mpc8272ads: Remove muram from the CPM reg property.
[POWERPC] Make clockevents work on PPC601 processors
...Fixed up conflict in Documentation/powerpc/booting-without-of.txt manually.
-
* 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[libata] sata_mv: more S/G fixes -
* corruption fix: we only want the lower 16 bits of length (0 == 64kb)
* ditto: the upper layer sets max-phys-segments to LIBATA_MAX_PRD,
so we must reset it to own hw-specific length.* delete unused mv_fill_sg() return value
Signed-off-by: Jeff Garzik
-
Signed-off-by: Jeff Garzik
Signed-off-by: Linus Torvalds -
This adds a memchr() implementation to the bootwrapper, which will
be needed when libfdt is merged in.Signed-off-by: David Gibson
Signed-off-by: Paul Mackerras -
Implement show_unhandled_signals sysctl + support to print when a process
is killed due to unhandled signals just as i386 and x86_64 does.Default to having it off, unlike x86 that defaults on.
Signed-off-by: Olof Johansson
Signed-off-by: Paul Mackerras -
Currently find_legacy_serial_ports() can find no serial ports on the
OPB with flattened device tree. Thus no legacy boot console can be
initialized. Just the early udbg console works, which is initialized
with udbg_init_44x_as1 on the UART's physical address specified in
kernel config. This happens because we look for ns16750 serial
devices only and expect opb node to have a device type property. This
patch makes it look for ns16550-compatible devices and use
of_device_is_compatible() for opb in case device type is not
specified.Signed-off-by: Valentine Barshak
Signed-off-by: Paul Mackerras -
This makes the kernel use 1TB segments for all kernel mappings and for
user addresses of 1TB and above, on machines which support them
(currently POWER5+, POWER6 and PA6T).We detect that the machine supports 1TB segments by looking at the
ibm,processor-segment-sizes property in the device tree.We don't currently use 1TB segments for user addresses < 1T, since
that would effectively prevent 32-bit processes from using huge pages
unless we also had a way to revert to using 256MB segments. That
would be possible but would involve extra complications (such as
keeping track of which segment size was used when HPTEs were inserted)
and is not addressed here.Parts of this patch were originally written by Ben Herrenschmidt.
Signed-off-by: Paul Mackerras
-
Allow a fixed framebuffer address to be assigned to the framebuffer device
instead of allocating the framebuffer from the consistent memory pool.Signed-off-by: Grant Likely
Signed-off-by: Paul Mackerras -
Some custom implementations of the xilinx fb can use resolutions other
than 640x480. This patch allows the resolution to be specified in the
device tree or the xilinx_platform_data structure.Signed-off-by: Grant Likely
Signed-off-by: Paul Mackerras