Build fix for Grsecurity (e.g. Gentoo-Hardened) (merge r4724 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4725 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-01-07 15:31:35 +00:00
parent 24372d7b1d
commit 7adbf62890

View File

@@ -70,7 +70,12 @@ struct sgv_pool_alloc_fns {
void *priv);
void (*free_pages_fn)(struct scatterlist *sg, int sg_count,
void *priv);
};
}
#ifdef CONSTIFY_PLUGIN
/* Avoid that the Grsecurity gcc constify_plugin constifies this structure. */
__attribute__((no_const))
#endif
;
/*
* SGV pool