diff options
author | 2007-08-22 15:43:00 -0700 | |
---|---|---|
committer | 2007-08-22 19:18:13 -0700 | |
commit | 9bc5a6c798d08fbcb7039eb0fe7ef0e5131dfa26 (patch) | |
tree | 172694c0f63bf8d9ab48cead83981cd69c88edbc /lib.c | |
parent | Make cgcc filter out all sparse warning related options (diff) | |
download | sparse-9bc5a6c798d08fbcb7039eb0fe7ef0e5131dfa26.tar.gz sparse-9bc5a6c798d08fbcb7039eb0fe7ef0e5131dfa26.tar.bz2 sparse-9bc5a6c798d08fbcb7039eb0fe7ef0e5131dfa26.zip |
add __builtin_labs()
2.6.23-rc3-mm1 has added a user of __builtin_labs(), so add this function
to sparse lib.c to avoid the error messages.
CHECK kernel/unwind.c
kernel/unwind.c:1016:31: error: undefined identifier '__builtin_labs'
kernel/unwind.c:1232:25: error: undefined identifier '__builtin_labs'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -590,6 +590,7 @@ void declare_builtin_functions(void) add_pre_buffer("extern long __builtin_alpha_insql(long, long);\n"); add_pre_buffer("extern long __builtin_alpha_inslh(long, long);\n"); add_pre_buffer("extern long __builtin_alpha_cmpbge(long, long);\n"); + add_pre_buffer("extern long __builtin_labs(long);\n"); } void create_builtin_stream(void) |