diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-08-31 03:45:21 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-08-31 03:45:46 -0400 |
| commit | daab7fc734a53fdeaf844b7c03053118ad1769da (patch) | |
| tree | 575deb3cdcc6dda562acaed6f7c29bc81ae01cf2 /scripts/decodecode | |
| parent | 774ea0bcb27f57b6fd521b3b6c43237782fed4b9 (diff) | |
| parent | 2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff) | |
Merge commit 'v2.6.36-rc3' into x86/memblock
Conflicts:
arch/x86/kernel/trampoline.c
mm/memblock.c
Merge reason: Resolve the conflicts, update to latest upstream.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/decodecode')
| -rwxr-xr-x | scripts/decodecode | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/decodecode b/scripts/decodecode index 8b30cc36744f..18ba881c3415 100755 --- a/scripts/decodecode +++ b/scripts/decodecode | |||
| @@ -40,7 +40,7 @@ echo $code | |||
| 40 | code=`echo $code | sed -e 's/.*Code: //'` | 40 | code=`echo $code | sed -e 's/.*Code: //'` |
| 41 | 41 | ||
| 42 | width=`expr index "$code" ' '` | 42 | width=`expr index "$code" ' '` |
| 43 | width=$[($width-1)/2] | 43 | width=$((($width-1)/2)) |
| 44 | case $width in | 44 | case $width in |
| 45 | 1) type=byte ;; | 45 | 1) type=byte ;; |
| 46 | 2) type=2byte ;; | 46 | 2) type=2byte ;; |
| @@ -48,10 +48,10 @@ case $width in | |||
| 48 | esac | 48 | esac |
| 49 | 49 | ||
| 50 | disas() { | 50 | disas() { |
| 51 | ${CROSS_COMPILE}as $AFLAGS -o $1.o $1.s &> /dev/null | 51 | ${CROSS_COMPILE}as $AFLAGS -o $1.o $1.s > /dev/null 2>&1 |
| 52 | 52 | ||
| 53 | if [ "$ARCH" == "arm" ]; then | 53 | if [ "$ARCH" = "arm" ]; then |
| 54 | if [ $width == 2 ]; then | 54 | if [ $width -eq 2 ]; then |
| 55 | OBJDUMPFLAGS="-M force-thumb" | 55 | OBJDUMPFLAGS="-M force-thumb" |
| 56 | fi | 56 | fi |
| 57 | 57 | ||
| @@ -59,7 +59,7 @@ disas() { | |||
| 59 | fi | 59 | fi |
| 60 | 60 | ||
| 61 | ${CROSS_COMPILE}objdump $OBJDUMPFLAGS -S $1.o | \ | 61 | ${CROSS_COMPILE}objdump $OBJDUMPFLAGS -S $1.o | \ |
| 62 | grep -v "/tmp\|Disassembly\|\.text\|^$" &> $1.dis | 62 | grep -v "/tmp\|Disassembly\|\.text\|^$" > $1.dis 2>&1 |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | marker=`expr index "$code" "\<"` | 65 | marker=`expr index "$code" "\<"` |
