提交 088c05a8 编写于 作者: R Ruslan Pisarev 提交者: Konrad Rzeszutek Wilk

Xen: fix whitespaces,tabs coding style issue in drivers/xen/events.c

This is a patch to the events.c file that fixed up
whitespaces, tabs and braces errors found by the
checkpatch.pl tools.
Signed-off-by: NRuslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 e882dc9c
...@@ -85,8 +85,7 @@ enum xen_irq_type { ...@@ -85,8 +85,7 @@ enum xen_irq_type {
* IPI - IPI vector * IPI - IPI vector
* EVTCHN - * EVTCHN -
*/ */
struct irq_info struct irq_info {
{
struct list_head list; struct list_head list;
enum xen_irq_type type; /* type */ enum xen_irq_type type; /* type */
unsigned irq; unsigned irq;
...@@ -282,9 +281,9 @@ static inline unsigned long active_evtchns(unsigned int cpu, ...@@ -282,9 +281,9 @@ static inline unsigned long active_evtchns(unsigned int cpu,
struct shared_info *sh, struct shared_info *sh,
unsigned int idx) unsigned int idx)
{ {
return (sh->evtchn_pending[idx] & return sh->evtchn_pending[idx] &
per_cpu(cpu_evtchn_mask, cpu)[idx] & per_cpu(cpu_evtchn_mask, cpu)[idx] &
~sh->evtchn_mask[idx]); ~sh->evtchn_mask[idx];
} }
static void bind_evtchn_to_cpu(unsigned int chn, unsigned int cpu) static void bind_evtchn_to_cpu(unsigned int chn, unsigned int cpu)
...@@ -1152,7 +1151,7 @@ static void __xen_evtchn_do_upcall(void) ...@@ -1152,7 +1151,7 @@ static void __xen_evtchn_do_upcall(void)
int cpu = get_cpu(); int cpu = get_cpu();
struct shared_info *s = HYPERVISOR_shared_info; struct shared_info *s = HYPERVISOR_shared_info;
struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu);
unsigned count; unsigned count;
do { do {
unsigned long pending_words; unsigned long pending_words;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册