mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xenconsole: fix 32bit compilation
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
0b0ca65b54
commit
72b0c19a70
1 file changed
+2
-2
@@ -1047,7 +1047,7 @@ static void handle_tty_write(struct console *con)
|
||||
|
||||
static void console_evtchn_unmask(struct console *con, void *data)
|
||||
{
|
||||
long long now = (long long)data;
|
||||
long long now = *(long long *)data;
|
||||
|
||||
if (!console_enabled(con))
|
||||
return;
|
||||
@@ -1343,7 +1343,7 @@ void handle_io(void)
|
||||
domains with new allowance */
|
||||
for (d = dom_head; d; d = d->next) {
|
||||
|
||||
console_iter_void_arg2(d, console_evtchn_unmask, (void *)now);
|
||||
console_iter_void_arg2(d, console_evtchn_unmask, (void *)&now);
|
||||
|
||||
console_iter_void_arg2(d, maybe_add_console_evtchn_fd,
|
||||
(void *)&next_timeout);
|
||||
|
||||