s390 has a strange marker in DEFINE. Undefine the DEFINE from kbuild.h and
define it the way s390 wants it to preserve things as they were.
May be good if the arch maintainer could go over this and check if this
workaround is really necessary.
Signed-off-by: Christoph Lameter <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
*/
#include <linux/sched.h>
+#include <linux/kbuild.h>
/* Use marker if you need to separate the values later */
-
+#undef DEFINE
#define DEFINE(sym, val, marker) \
asm volatile("\n->" #sym " %0 " #val " " #marker : : "i" (val))
-#define BLANK() asm volatile("\n->" : : )
-
int main(void)
{
DEFINE(__THREAD_info, offsetof(struct task_struct, stack),);