Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 148c69b4 authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

MN10300: Make cpu_relax() invoke barrier()



Make cpu_relax() invoke barrier() to be the same as other arches.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7a34912d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ extern struct mn10300_cpuinfo boot_cpu_data;
extern void identify_cpu(struct mn10300_cpuinfo *);
extern void print_cpu_info(struct mn10300_cpuinfo *);
extern void dodgy_tsc(void);
#define cpu_relax() do {} while (0)
#define cpu_relax() barrier()

/*
 * User space process size: 1.75GB (default).