git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/cnxk: support timestamp PKIND in CPT
[dpdk.git]
/
app
/
test
/
resource.h
diff --git
a/app/test/resource.h
b/app/test/resource.h
index
223fa22
..
c75ebd4
100644
(file)
--- a/
app/test/resource.h
+++ b/
app/test/resource.h
@@
-98,7
+98,7
@@
static struct resource linkres_ ##n = { \
.begin = b, \
.end = e, \
}; \
-
static void __attribute__((constructor, used)) resinitfn_ ##n(void)
\
+
RTE_INIT(resinitfn_ ##n)
\
{ \
resource_register(&linkres_ ##n); \
}