* linux-next: manual merge of the metag tree with the arc tree
@ 2013-02-06 0:03 Stephen Rothwell
2013-02-06 13:01 ` James Hogan
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2013-02-06 0:03 UTC (permalink / raw)
To: James Hogan; +Cc: linux-next, linux-kernel, Vineet Gupta
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]
Hi James,
Today's linux-next merge of the metag tree got a conflict in
tools/perf/perf.h between commit 12bf48ef6194 ("perf, ARC: Enable
building perf tools for ARC") from the arc tree and commit 6c4a2bebec36
("perf: Enable building perf tools for Meta") from the metag tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc tools/perf/perf.h
index 8a68ad3,768507e..0000000
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@@ -98,12 -98,12 +98,18 @@@ void get_term_dimensions(struct winsiz
#define CPUINFO_PROC "cpu model"
#endif
+#ifdef __arc__
+#define rmb() asm volatile("" ::: "memory")
+#define cpu_relax() rmb()
+#define CPUINFO_PROC "Processor"
+#endif
+
+ #ifdef __metag__
+ #define rmb() asm volatile("" ::: "memory")
+ #define cpu_relax() asm volatile("" ::: "memory")
+ #define CPUINFO_PROC "CPU"
+ #endif
+
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: manual merge of the metag tree with the arc tree
2013-02-06 0:03 linux-next: manual merge of the metag tree with the arc tree Stephen Rothwell
@ 2013-02-06 13:01 ` James Hogan
0 siblings, 0 replies; 2+ messages in thread
From: James Hogan @ 2013-02-06 13:01 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Vineet Gupta
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
On 06/02/13 00:03, Stephen Rothwell wrote:
> Hi James,
>
> Today's linux-next merge of the metag tree got a conflict in
> tools/perf/perf.h between commit 12bf48ef6194 ("perf, ARC: Enable
> building perf tools for ARC") from the arc tree and commit 6c4a2bebec36
> ("perf: Enable building perf tools for Meta") from the metag tree.
>
> I fixed it up (see below) and can carry the fix as necessary (no action
> is required).
>
Thanks, looks good to me
Cheers
James
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-06 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 0:03 linux-next: manual merge of the metag tree with the arc tree Stephen Rothwell
2013-02-06 13:01 ` James Hogan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox