diff options
| author | Takashi Iwai <tiwai@suse.de> | 2013-07-24 05:42:34 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2013-07-24 05:42:34 -0400 |
| commit | 43cbd286fbba4bfb0c2ef05dc62522dfd5a2c000 (patch) | |
| tree | 7184a24f04c72987e725e50e66db530e6f618220 /arch/arm64/kernel | |
| parent | fee4b700a4e9e446151eb5a03874ca8666323113 (diff) | |
| parent | c5ae4dca11523dff15cfb1763b64a71b805976aa (diff) | |
Merge tag 'asoc-v3.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v3.11
A few small updates again, the sgtl5000 one fixes some newly triggered
issues due to some probe ordering changes which were introduced in the
last merge window.
Diffstat (limited to 'arch/arm64/kernel')
| -rw-r--r-- | arch/arm64/kernel/debug-monitors.c | 6 | ||||
| -rw-r--r-- | arch/arm64/kernel/hw_breakpoint.c | 4 | ||||
| -rw-r--r-- | arch/arm64/kernel/process.c | 2 | ||||
| -rw-r--r-- | arch/arm64/kernel/smp.c | 23 |
4 files changed, 18 insertions, 17 deletions
diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c index 08018e3df580..cbfacf7fb438 100644 --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c | |||
| @@ -141,7 +141,7 @@ static void clear_os_lock(void *unused) | |||
| 141 | isb(); | 141 | isb(); |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | static int __cpuinit os_lock_notify(struct notifier_block *self, | 144 | static int os_lock_notify(struct notifier_block *self, |
| 145 | unsigned long action, void *data) | 145 | unsigned long action, void *data) |
| 146 | { | 146 | { |
| 147 | int cpu = (unsigned long)data; | 147 | int cpu = (unsigned long)data; |
| @@ -150,11 +150,11 @@ static int __cpuinit os_lock_notify(struct notifier_block *self, | |||
| 150 | return NOTIFY_OK; | 150 | return NOTIFY_OK; |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | static struct notifier_block __cpuinitdata os_lock_nb = { | 153 | static struct notifier_block os_lock_nb = { |
| 154 | .notifier_call = os_lock_notify, | 154 | .notifier_call = os_lock_notify, |
| 155 | }; | 155 | }; |
| 156 | 156 | ||
| 157 | static int __cpuinit debug_monitors_init(void) | 157 | static int debug_monitors_init(void) |
| 158 | { | 158 | { |
| 159 | /* Clear the OS lock. */ | 159 | /* Clear the OS lock. */ |
| 160 | smp_call_function(clear_os_lock, NULL, 1); | 160 | smp_call_function(clear_os_lock, NULL, 1); |
diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c index 5ab825c59db9..329218ca9ffb 100644 --- a/arch/arm64/kernel/hw_breakpoint.c +++ b/arch/arm64/kernel/hw_breakpoint.c | |||
| @@ -821,7 +821,7 @@ static void reset_ctrl_regs(void *unused) | |||
| 821 | } | 821 | } |
| 822 | } | 822 | } |
| 823 | 823 | ||
| 824 | static int __cpuinit hw_breakpoint_reset_notify(struct notifier_block *self, | 824 | static int hw_breakpoint_reset_notify(struct notifier_block *self, |
| 825 | unsigned long action, | 825 | unsigned long action, |
| 826 | void *hcpu) | 826 | void *hcpu) |
| 827 | { | 827 | { |
| @@ -831,7 +831,7 @@ static int __cpuinit hw_breakpoint_reset_notify(struct notifier_block *self, | |||
| 831 | return NOTIFY_OK; | 831 | return NOTIFY_OK; |
| 832 | } | 832 | } |
| 833 | 833 | ||
| 834 | static struct notifier_block __cpuinitdata hw_breakpoint_reset_nb = { | 834 | static struct notifier_block hw_breakpoint_reset_nb = { |
| 835 | .notifier_call = hw_breakpoint_reset_notify, | 835 | .notifier_call = hw_breakpoint_reset_notify, |
| 836 | }; | 836 | }; |
| 837 | 837 | ||
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 46f02c3b5015..1788bf6b471f 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c | |||
| @@ -132,7 +132,7 @@ void machine_restart(char *cmd) | |||
| 132 | 132 | ||
| 133 | /* Now call the architecture specific reboot code. */ | 133 | /* Now call the architecture specific reboot code. */ |
| 134 | if (arm_pm_restart) | 134 | if (arm_pm_restart) |
| 135 | arm_pm_restart('h', cmd); | 135 | arm_pm_restart(reboot_mode, cmd); |
| 136 | 136 | ||
| 137 | /* | 137 | /* |
| 138 | * Whoops - the architecture was unable to reboot. | 138 | * Whoops - the architecture was unable to reboot. |
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 5d54e3717bf8..fee5cce83450 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c | |||
| @@ -71,7 +71,7 @@ static DEFINE_RAW_SPINLOCK(boot_lock); | |||
| 71 | * in coherency or not. This is necessary for the hotplug code to work | 71 | * in coherency or not. This is necessary for the hotplug code to work |
| 72 | * reliably. | 72 | * reliably. |
| 73 | */ | 73 | */ |
| 74 | static void __cpuinit write_pen_release(u64 val) | 74 | static void write_pen_release(u64 val) |
| 75 | { | 75 | { |
| 76 | void *start = (void *)&secondary_holding_pen_release; | 76 | void *start = (void *)&secondary_holding_pen_release; |
| 77 | unsigned long size = sizeof(secondary_holding_pen_release); | 77 | unsigned long size = sizeof(secondary_holding_pen_release); |
| @@ -84,7 +84,7 @@ static void __cpuinit write_pen_release(u64 val) | |||
| 84 | * Boot a secondary CPU, and assign it the specified idle task. | 84 | * Boot a secondary CPU, and assign it the specified idle task. |
| 85 | * This also gives us the initial stack to use for this CPU. | 85 | * This also gives us the initial stack to use for this CPU. |
| 86 | */ | 86 | */ |
| 87 | static int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) | 87 | static int boot_secondary(unsigned int cpu, struct task_struct *idle) |
| 88 | { | 88 | { |
| 89 | unsigned long timeout; | 89 | unsigned long timeout; |
| 90 | 90 | ||
| @@ -122,7 +122,7 @@ static int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) | |||
| 122 | 122 | ||
| 123 | static DECLARE_COMPLETION(cpu_running); | 123 | static DECLARE_COMPLETION(cpu_running); |
| 124 | 124 | ||
| 125 | int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle) | 125 | int __cpu_up(unsigned int cpu, struct task_struct *idle) |
| 126 | { | 126 | { |
| 127 | int ret; | 127 | int ret; |
| 128 | 128 | ||
| @@ -162,7 +162,7 @@ int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle) | |||
| 162 | * This is the secondary CPU boot entry. We're using this CPUs | 162 | * This is the secondary CPU boot entry. We're using this CPUs |
| 163 | * idle thread stack, but a set of temporary page tables. | 163 | * idle thread stack, but a set of temporary page tables. |
| 164 | */ | 164 | */ |
| 165 | asmlinkage void __cpuinit secondary_start_kernel(void) | 165 | asmlinkage void secondary_start_kernel(void) |
| 166 | { | 166 | { |
| 167 | struct mm_struct *mm = &init_mm; | 167 | struct mm_struct *mm = &init_mm; |
| 168 | unsigned int cpu = smp_processor_id(); | 168 | unsigned int cpu = smp_processor_id(); |
| @@ -200,13 +200,6 @@ asmlinkage void __cpuinit secondary_start_kernel(void) | |||
| 200 | raw_spin_unlock(&boot_lock); | 200 | raw_spin_unlock(&boot_lock); |
| 201 | 201 | ||
| 202 | /* | 202 | /* |
| 203 | * Enable local interrupts. | ||
| 204 | */ | ||
| 205 | notify_cpu_starting(cpu); | ||
| 206 | local_irq_enable(); | ||
| 207 | local_fiq_enable(); | ||
| 208 | |||
| 209 | /* | ||
| 210 | * OK, now it's safe to let the boot CPU continue. Wait for | 203 | * OK, now it's safe to let the boot CPU continue. Wait for |
| 211 | * the CPU migration code to notice that the CPU is online | 204 | * the CPU migration code to notice that the CPU is online |
| 212 | * before we continue. | 205 | * before we continue. |
| @@ -215,6 +208,14 @@ asmlinkage void __cpuinit secondary_start_kernel(void) | |||
| 215 | complete(&cpu_running); | 208 | complete(&cpu_running); |
| 216 | 209 | ||
| 217 | /* | 210 | /* |
| 211 | * Enable GIC and timers. | ||
| 212 | */ | ||
| 213 | notify_cpu_starting(cpu); | ||
| 214 | |||
| 215 | local_irq_enable(); | ||
| 216 | local_fiq_enable(); | ||
| 217 | |||
| 218 | /* | ||
| 218 | * OK, it's off to the idle thread for us | 219 | * OK, it's off to the idle thread for us |
| 219 | */ | 220 | */ |
| 220 | cpu_startup_entry(CPUHP_ONLINE); | 221 | cpu_startup_entry(CPUHP_ONLINE); |
