am b05aa150: Merge "Replace all occurrances of asm with __asm__ in the output headers"
* commit 'b05aa1500035d0e02d30143a0702a72b111f200e': Replace all occurrances of asm with __asm__ in the output headers
This commit is contained in:
commit
6042658cb5
@ -71,6 +71,7 @@ def cleanupFile( path ):
|
|||||||
list.removeEmptyLines()
|
list.removeEmptyLines()
|
||||||
list.removeMacroDefines( kernel_ignored_macros )
|
list.removeMacroDefines( kernel_ignored_macros )
|
||||||
list.insertDisclaimer( kernel.kernel_disclaimer )
|
list.insertDisclaimer( kernel.kernel_disclaimer )
|
||||||
|
list.replaceTokens( kernel_token_replacements )
|
||||||
|
|
||||||
out = StringOutput()
|
out = StringOutput()
|
||||||
list.write(out)
|
list.write(out)
|
||||||
|
@ -43,6 +43,11 @@ kernel_default_arch_macros = {
|
|||||||
"x86": {"__i386__": "1"},
|
"x86": {"__i386__": "1"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Replace tokens in the output according to this mapping
|
||||||
|
kernel_token_replacements = {
|
||||||
|
{"asm": "__asm__"},
|
||||||
|
}
|
||||||
|
|
||||||
# this is the set of known static inline functions that we want to keep
|
# this is the set of known static inline functions that we want to keep
|
||||||
# in the final ARM headers. this is only used to keep optimized byteswapping
|
# in the final ARM headers. this is only used to keep optimized byteswapping
|
||||||
# static functions and stuff like that.
|
# static functions and stuff like that.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user