Skip to content

Commit

Permalink
x86, vdso: Don't quote $nm in the script for checking vdso references
Browse files Browse the repository at this point in the history
Don't quote $nm in the script for checking the vdso for external
references.  Doing so breaks multiword constructs, like using
CROSS_COMPILE='ccache '.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <20100728134252.2e4c27cf.sfr@canb.auug.org.au>
  • Loading branch information
H. Peter Anvin committed Jul 28, 2010
1 parent 05d0b08 commit 18642a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/vdso/checkundef.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
nm="$1"
file="$2"
"$nm" "$file" | grep '^ *U' > /dev/null 2>&1
$nm "$file" | grep '^ *U' > /dev/null 2>&1
if [ $? -eq 1 ]; then
exit 0
else
Expand Down

0 comments on commit 18642a5

Please sign in to comment.