08 Mar, 2010
6 commits
-
Use local file handles, use three argument open.
Don't modify arguments in perl grep (use sed instead)Signed-off-by: Stephen Hemminger
Acked-by: WANG Cong
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek -
Turn on strict checking.
Simplify code by using "unless" statement.Signed-off-by: Stephen Hemminger
Acked-by: WANG Cong
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek -
Use local file handle not global.
Make loop and other variables local in scope.Signed-off-by: Stephen Hemminger
Cc: Hui Zhu
Cc: Cong Wang
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek -
Turn on strict checking.
Use three arguement open
Standard practice in perl is to use undef not zero for falseSigned-off-by: Stephen Hemminger
Cc: Cong Wang
Cc: Ralf Baechle
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek -
Turn on strict checking.
Use local file handles.
Use three argument open.Signed-off-by: Stephen Hemminger
Cc: Cong Wang
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek -
Cleanup checkstack script:
* Turn on strict checking
* Fix resulting error message because the declaration syntax
was incorrect.
* Remove incorrect and misleading use of prototype
- prototype not required for this type of sort function
because $a and $b are being used in this contex
- if prototype was being used it should be for both arguments
* Use closure for sort functionSigned-off-by: Stephen Hemminger
Cc: Steven Rostedt
Cc: Arjan van de Ven
Cc: Cong Wang
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek
07 Mar, 2010
1 commit
-
This patch creates the standard md5sums file for 'make deb-pkg' just
like the dh_md5sums debhelper script.Signed-off-by: Jozsef Fejes
Signed-off-by: Michal Marek
03 Mar, 2010
25 commits
-
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
There is already an architecture-independent __page_aligned_data macro
for this purpose, so removing the powerpc-specific macro should be
harmless.Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Sam Ravnborg
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek -
make ALLSOURCE_ARCHS=all tags
- Document this in kbuild.txt
Without this change you have to type each arch separately.Signed-off-by: John Kacur
Signed-off-by: Michal Marek -
Signed-off-by: John Kacur
Signed-off-by: Michal Marek
22 Feb, 2010
1 commit
-
$ make mrproper
$ make tags
GEN tags
find: `arch/x86_64/': No such file or directoryCaused by commit f81b1be (tags: include headers before source files)
Cc: Guennadi Liakhovetski
Acked-by: WANG Cong
Signed-off-by: Michal Marek
17 Feb, 2010
2 commits
-
Signed-off-by: Kirill Smelkov
Signed-off-by: Michal Marek -
Currently looking up a structure definition in TAGS / tags takes one to
one of multiple "static struct X" definitions in arch sources, which makes
it for many structs practically impossible to get to the required header.
This patch changes the order of sources being tagged to first scan
architecture includes, then the top-level include/ directory, and only
then the rest. It also takes into account, that many architectures have
more than one include directory, i.e., not only arch/$ARCH/include, but
also arch/$ARCH/mach-X/include etc.Signed-off-by: Guennadi Liakhovetski
Reviewed-by: WANG Cong
[mmarek@suse.cz: fix 'var+=text' bashism]
Signed-off-by: Michal Marek
06 Feb, 2010
3 commits
-
Better dwarf2 unwind information is a good thing, it allows better
debugging with kgdb and crash and helps systemtap.Commit 003086497f07f7f1e67c0c295e261740f822b377 ("Build with
-fno-dwarf2-cfi-asm") disabled some CFI information globally to work
around a module loader bug on powerpc.But this disables the better unwind tables for all architectures, not just
powerpc. Move the workaround to powerpc and also add a suitable comment
that's it really a workaround.This improves dwarf2 unwind tables on x86 at least.
Signed-off-by: Andi Kleen
Cc: Kyle McMartin
Signed-off-by: Andrew Morton
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Michal Marek -
1. Fix a little format issue.
2. Check the return of "Getopt::Long::GetOptions". Output usage and
exit if it get error.
3. Change $ARGV[$#ARGV] to $ARGV[0].
4. Change the code which get $modulefile from modinfo. Replace the
pipeline with `modinfo -F filename $module`.
4. Change usage from "Specify the module directory name" to "Specify the
module filename".Signed-off-by: Hui Zhu
Signed-off-by: Michal Marek -
The markup_oops.pl have 3 troubles to support cross-compiler environment:
1. It use objdump directly.
2. It use modinfo to get the message of module.
3. It use hex function that cannot support 64-bit number in 32-bit arch.This patch add 3 options to markup_oops.pl:
1. -c CROSS_COMPILE Specify the prefix used for toolchain.
2. -m MODULE_DIRNAME Specify the module directory name.
3. Change hex function to Math::BigInt->from_hex.After this patch, parse the x8664 oops in x86, we can:
cat amd64m | perl ~/kernel/tmp/m.pl -c /home/teawater/kernel/bin/x8664- -m ./e.ko vmlinuxThanks,
HuiSigned-off-by: Hui Zhu
Cc: Andrew Morton
Cc: Arjan van de Ven
Cc: Sam Ravnborg
Cc: ozan@pardus.org.tr
Cc: Matthew Wilcox
Acked-by: WANG Cong
Signed-off-by: Michal Marek
02 Feb, 2010
2 commits
-
Acked-by: Sam Ravnborg
Signed-off-by: Michal Marek -
Also, add a note that "unmaintained" files below scripts/ should go via
the kbuild tree (best current practice).Signed-off-by: Michal Marek