fix checkstack.pl arch detection
authorEric Sandeen <sandeen@redhat.com>
Fri, 25 Jul 2008 08:45:28 +0000 (01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:27 +0000 (10:53 -0700)
commitabddaec56ebb7911bbf0578a4636a74bd7376d92
treea77e40014e1d4edec7f1e5a226fedf46085f5f71
parent585e93ae83b80c874bf4eb50a239027cef5db4af
fix checkstack.pl arch detection

uname -m was leaving a newline in $arch, and not passing the tests.

Also, printing the unknown arch on failure is probably helpful.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkstack.pl