diff options
| author | Stewart Smith <stewart@linux.ibm.com> | 2019-03-29 11:58:49 +1100 |
|---|---|---|
| committer | Stewart Smith <stewart@linux.ibm.com> | 2019-03-29 13:23:48 +1100 |
| commit | 3e0eef2e9a922acb853f38c7fe42198bf7fb177d (patch) | |
| tree | b136b81193283d2c45d18235a3cdcfa56faec93d /include | |
| parent | 11374f20e8f1c179571077292dd2b3011dea4ae2 (diff) | |
| download | talos-skiboot-3e0eef2e9a922acb853f38c7fe42198bf7fb177d.tar.gz talos-skiboot-3e0eef2e9a922acb853f38c7fe42198bf7fb177d.zip | |
Force noinline for pci_add_(one_)device_node(s)()
We call all of these things recursively, so don't use excess stack.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index 35bf1652..9a4602e7 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -31,6 +31,7 @@ /* not __const as this has a different meaning (const) */ #define __attrconst __attribute__((const)) #define __warn_unused_result __attribute__((warn_unused_result)) +#define __noinline __attribute__((noinline)) #if 0 /* Provided by gcc stddef.h */ #define offsetof(type,m) __builtin_offsetof(type,m) |

