diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-02-19 08:01:00 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-02-19 08:05:30 -0800 |
commit | 8b63e7d52e4519a47fa1365f2e19d35de0db3a9d (patch) | |
tree | c303195ece7e1dab0469f37651340bc82af6b45c /extra | |
parent | 4c15dd5a77e2df399ea3c4e6818cad4df42c0219 (diff) |
Add dummy tcb-offsets.h
* This file is used during creation of real tcb-offsets.h
because lowlevellock.h from i386 also include tcb-offsets.h
and it is inturn included by tls.h and tls.h is used in
the dummy C file generated from tcb-offsets.sym, it created
a catch-22
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/scripts/gen-as-const.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/scripts/gen-as-const.awk b/extra/scripts/gen-as-const.awk index f9ec31672..013bd6e85 100644 --- a/extra/scripts/gen-as-const.awk +++ b/extra/scripts/gen-as-const.awk @@ -26,7 +26,7 @@ NF == 1 { sub(/^.*$/, "& &"); } NF > 1 { name = $1; sub(/^[^ ]+[ ]+/, ""); - printf "__asm__ (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" (%s));\n", + printf "__asm__ (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" ((long) %s));\n", name, $0; } |