static int _set_status(const grant_entry_header_t *shah,
grant_status_t *status,
struct domain *rd,
- unsigned rgt_version,
+ unsigned int rgt_version,
struct active_grant_entry *act,
int readonly,
int mapflag,
gnttab_populate_status_frames(struct domain *d, struct grant_table *gt,
unsigned int req_nr_frames)
{
- unsigned i;
- unsigned req_status_frames;
+ unsigned int i;
+ unsigned int req_status_frames;
req_status_frames = grant_to_status_frames(req_nr_frames);
#define WSIZE 0x80000000
static unsigned char *__initdata inbuf;
-static unsigned __initdata insize;
+static unsigned int __initdata insize;
/* Index of next byte to be processed in inbuf: */
-static unsigned __initdata inptr;
+static unsigned int __initdata inptr;
/* Bytes in output buffer: */
-static unsigned __initdata outcnt;
+static unsigned int __initdata outcnt;
#define OF(args) args
* compute the crc.
*/
unsigned long c = crc;
- unsigned n;
+ unsigned int n;
unsigned char *in, ch;
in = window;
case XEN_SYSCTL_CPUPOOL_OP_ADDCPU:
{
- unsigned cpu;
+ unsigned int cpu;
const cpumask_t *cpus;
cpu = op->cpu;
case XEN_SYSCTL_CPUPOOL_OP_RMCPU:
{
- unsigned cpu;
+ unsigned int cpu;
c = cpupool_get_by_id(op->cpupool_id);
ret = -ENOENT;
#define APPEND_ARG32(i) \
do { \
- unsigned i_ = (i); \
+ unsigned int i_ = (i); \
*a++ = args[(i_)]; \
d.op |= TRC_PV_HYPERCALL_V2_ARG_32(i_); \
} while( 0 )