Thread (3 messages) flat view 3 messages, 2 authors, 2006-12-20

Re: [PATCH 7/19] powerpc: hypervisor call numbers for Celleb

From: Christoph Hellwig <hch@lst.de>
Date: 2006-12-14 17:32:43

On Thu, Dec 14, 2006 at 11:30:28AM +0900, Ishizaki Kou wrote:
+
+#ifdef	__ASSEMBLY__
+#define	__BEAT_ADD_VENDOR_ID(__x, __v)	((__v)<<60|(__x))
+#elif defined(__powerpc64__)
+#define	__BEAT_ADD_VENDOR_ID(__x, __v)	((unsigned long)(__v)<<60|(__x))
+#else
+#define	__BEAT_ADD_VENDOR_ID(__x, __v)	((unsigned long long)(__v)<<60|(__x))
+#endif
__powerpc64__ is always set for ppc64 compiles.
+#define HV_allocate_memory (0)
+#define HV_construct_virtual_address_space (2)
isn't HV_foo a little too generic?  Also no need for the braces around
the actual hvall numbers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help