On Tue, 28 Jan 2014, Julien Grall wrote:
> On 01/28/2014 05:46 PM, Stefano Stabellini wrote:
> > On Tue, 28 Jan 2014, Julien Grall wrote:
> +static int xen_cpu_notification(struct notifier_block *self,
> +unsigned long action,
> +
On 01/28/2014 05:46 PM, Stefano Stabellini wrote:
> On Tue, 28 Jan 2014, Julien Grall wrote:
+static int xen_cpu_notification(struct notifier_block *self,
+ unsigned long action,
+ void *hcpu)
+{
+ int cpu = (long)hcpu;
On Tue, 28 Jan 2014, Julien Grall wrote:
> >> +static int xen_cpu_notification(struct notifier_block *self,
> >> + unsigned long action,
> >> + void *hcpu)
> >> +{
> >> + int cpu = (long)hcpu;
> >> +
> >> + switch (action) {
> >> + case
On 01/28/2014 05:13 PM, Stefano Stabellini wrote:
> On Tue, 28 Jan 2014, Julien Grall wrote:
>> Event channels driver needs to be initialized very early. Until now, Xen
>> initialization was done after all CPUs was bring up.
>>
>> We can safely move the initialization to an early initcall.
>>
>>
On 01/28/2014 05:13 PM, Stefano Stabellini wrote:
On Tue, 28 Jan 2014, Julien Grall wrote:
Event channels driver needs to be initialized very early. Until now, Xen
initialization was done after all CPUs was bring up.
We can safely move the initialization to an early initcall.
Also use a cpu
On Tue, 28 Jan 2014, Julien Grall wrote:
+static int xen_cpu_notification(struct notifier_block *self,
+ unsigned long action,
+ void *hcpu)
+{
+ int cpu = (long)hcpu;
+
+ switch (action) {
+ case CPU_UP_PREPARE:
+
On 01/28/2014 05:46 PM, Stefano Stabellini wrote:
On Tue, 28 Jan 2014, Julien Grall wrote:
+static int xen_cpu_notification(struct notifier_block *self,
+ unsigned long action,
+ void *hcpu)
+{
+ int cpu = (long)hcpu;
+
+ switch (action)
On Tue, 28 Jan 2014, Julien Grall wrote:
On 01/28/2014 05:46 PM, Stefano Stabellini wrote:
On Tue, 28 Jan 2014, Julien Grall wrote:
+static int xen_cpu_notification(struct notifier_block *self,
+unsigned long action,
+void
8 matches
Mail list logo