diff options
| author | Andi Kleen <ak@linux.intel.com> | 2014-05-01 18:44:37 -0400 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-05-05 19:07:44 -0400 |
| commit | 2605fc216fa492f9e7c488bdc7f687cd6dcc703b (patch) | |
| tree | 24090c594c60f94907bcd107bdc5cbcba03c4c8c | |
| parent | 3adc1beacdbc1d6c4be99ecc2f87eac1c1e6f857 (diff) | |
asmlinkage, x86: Add explicit __visible to arch/x86/*
As requested by Linus add explicit __visible to the asmlinkage users.
This marks all functions visible to assembler.
Tree sweep for arch/x86/*
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1398984278-29319-3-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| -rw-r--r-- | arch/x86/boot/compressed/misc.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/acpi/sleep.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/cpu/mcheck/therm_throt.c | 4 | ||||
| -rw-r--r-- | arch/x86/kernel/cpu/mcheck/threshold.c | 4 | ||||
| -rw-r--r-- | arch/x86/kernel/head32.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/head64.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/process_64.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/smp.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/traps.c | 6 | ||||
| -rw-r--r-- | arch/x86/kernel/vsmp_64.c | 6 | ||||
| -rw-r--r-- | arch/x86/kvm/x86.c | 2 | ||||
| -rw-r--r-- | arch/x86/lguest/boot.c | 4 | ||||
| -rw-r--r-- | arch/x86/math-emu/errors.c | 16 | ||||
| -rw-r--r-- | arch/x86/platform/olpc/olpc-xo1-pm.c | 2 | ||||
| -rw-r--r-- | arch/x86/power/hibernate_64.c | 2 | ||||
| -rw-r--r-- | arch/x86/xen/enlighten.c | 2 | ||||
| -rw-r--r-- | arch/x86/xen/irq.c | 6 |
18 files changed, 34 insertions, 34 deletions
diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index 17684615374b..57ab74df7eea 100644 --- a/arch/x86/boot/compressed/misc.c +++ b/arch/x86/boot/compressed/misc.c | |||
| @@ -354,7 +354,7 @@ static void parse_elf(void *output) | |||
| 354 | free(phdrs); | 354 | free(phdrs); |
| 355 | } | 355 | } |
| 356 | 356 | ||
| 357 | asmlinkage void *decompress_kernel(void *rmode, memptr heap, | 357 | asmlinkage __visible void *decompress_kernel(void *rmode, memptr heap, |
| 358 | unsigned char *input_data, | 358 | unsigned char *input_data, |
| 359 | unsigned long input_len, | 359 | unsigned long input_len, |
| 360 | unsigned char *output, | 360 | unsigned char *output, |
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index 3a2ae4c88948..31368207837c 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c | |||
| @@ -31,7 +31,7 @@ static char temp_stack[4096]; | |||
| 31 | * | 31 | * |
| 32 | * Wrapper around acpi_enter_sleep_state() to be called by assmebly. | 32 | * Wrapper around acpi_enter_sleep_state() to be called by assmebly. |
| 33 | */ | 33 | */ |
| 34 | acpi_status asmlinkage x86_acpi_enter_sleep_state(u8 state) | 34 | acpi_status asmlinkage __visible x86_acpi_enter_sleep_state(u8 state) |
| 35 | { | 35 | { |
| 36 | return acpi_enter_sleep_state(state); | 36 | return acpi_enter_sleep_state(state); |
| 37 | } | 37 | } |
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index d23aa82e7a7b..992060e09897 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
| @@ -2189,7 +2189,7 @@ void send_cleanup_vector(struct irq_cfg *cfg) | |||
| 2189 | cfg->move_in_progress = 0; | 2189 | cfg->move_in_progress = 0; |
| 2190 | } | 2190 | } |
| 2191 | 2191 | ||
| 2192 | asmlinkage void smp_irq_move_cleanup_interrupt(void) | 2192 | asmlinkage __visible void smp_irq_move_cleanup_interrupt(void) |
| 2193 | { | 2193 | { |
| 2194 | unsigned vector, me; | 2194 | unsigned vector, me; |
| 2195 | 2195 | ||
diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c index d921b7ee6595..36a1bb6d1ee0 100644 --- a/arch/x86/kernel/cpu/mcheck/therm_throt.c +++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c | |||
| @@ -429,14 +429,14 @@ static inline void __smp_thermal_interrupt(void) | |||
| 429 | smp_thermal_vector(); | 429 | smp_thermal_vector(); |
| 430 | } | 430 | } |
| 431 | 431 | ||
| 432 | asmlinkage void smp_thermal_interrupt(struct pt_regs *regs) | 432 | asmlinkage __visible void smp_thermal_interrupt(struct pt_regs *regs) |
| 433 | { | 433 | { |
| 434 | entering_irq(); | 434 | entering_irq(); |
| 435 | __smp_thermal_interrupt(); | 435 | __smp_thermal_interrupt(); |
| 436 | exiting_ack_irq(); | 436 | exiting_ack_irq(); |
| 437 | } | 437 | } |
| 438 | 438 | ||
| 439 | asmlinkage void smp_trace_thermal_interrupt(struct pt_regs *regs) | 439 | asmlinkage __visible void smp_trace_thermal_interrupt(struct pt_regs *regs) |
| 440 | { | 440 | { |
| 441 | entering_irq(); | 441 | entering_irq(); |
| 442 | trace_thermal_apic_entry(THERMAL_APIC_VECTOR); | 442 | trace_thermal_apic_entry(THERMAL_APIC_VECTOR); |
diff --git a/arch/x86/kernel/cpu/mcheck/threshold.c b/arch/x86/kernel/cpu/mcheck/threshold.c index fe6b1c86645b..7245980186ee 100644 --- a/arch/x86/kernel/cpu/mcheck/threshold.c +++ b/arch/x86/kernel/cpu/mcheck/threshold.c | |||
| @@ -24,14 +24,14 @@ static inline void __smp_threshold_interrupt(void) | |||
| 24 | mce_threshold_vector(); | 24 | mce_threshold_vector(); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | asmlinkage void smp_threshold_interrupt(void) | 27 | asmlinkage __visible void smp_threshold_interrupt(void) |
| 28 | { | 28 | { |
| 29 | entering_irq(); | 29 | entering_irq(); |
| 30 | __smp_threshold_interrupt(); | 30 | __smp_threshold_interrupt(); |
| 31 | exiting_ack_irq(); | 31 | exiting_ack_irq(); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | asmlinkage void smp_trace_threshold_interrupt(void) | 34 | asmlinkage __visible void smp_trace_threshold_interrupt(void) |
| 35 | { | 35 | { |
| 36 | entering_irq(); | 36 | entering_irq(); |
| 37 | trace_threshold_apic_entry(THRESHOLD_APIC_VECTOR); | 37 | trace_threshold_apic_entry(THRESHOLD_APIC_VECTOR); |
diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head32.c index c61a14a4a310..d6c1b9836995 100644 --- a/arch/x86/kernel/head32.c +++ b/arch/x86/kernel/head32.c | |||
| @@ -29,7 +29,7 @@ static void __init i386_default_early_setup(void) | |||
| 29 | reserve_ebda_region(); | 29 | reserve_ebda_region(); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | asmlinkage void __init i386_start_kernel(void) | 32 | asmlinkage __visible void __init i386_start_kernel(void) |
| 33 | { | 33 | { |
| 34 | sanitize_boot_params(&boot_params); | 34 | sanitize_boot_params(&boot_params); |
| 35 | 35 | ||
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 85126ccbdf6b..068054f4bf20 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c | |||
| @@ -137,7 +137,7 @@ static void __init copy_bootdata(char *real_mode_data) | |||
| 137 | } | 137 | } |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | asmlinkage void __init x86_64_start_kernel(char * real_mode_data) | 140 | asmlinkage __visible void __init x86_64_start_kernel(char * real_mode_data) |
| 141 | { | 141 | { |
| 142 | int i; | 142 | int i; |
| 143 | 143 | ||
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 9c0280f93d05..898d077617a9 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | 52 | ||
| 53 | asmlinkage extern void ret_from_fork(void); | 53 | asmlinkage extern void ret_from_fork(void); |
| 54 | 54 | ||
| 55 | asmlinkage DEFINE_PER_CPU(unsigned long, old_rsp); | 55 | __visible DEFINE_PER_CPU(unsigned long, old_rsp); |
| 56 | 56 | ||
| 57 | /* Prints also some state that isn't saved in the pt_regs */ | 57 | /* Prints also some state that isn't saved in the pt_regs */ |
| 58 | void __show_regs(struct pt_regs *regs, int all) | 58 | void __show_regs(struct pt_regs *regs, int all) |
diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c index 7c3a5a61f2e4..be8e1bde07aa 100644 --- a/arch/x86/kernel/smp.c +++ b/arch/x86/kernel/smp.c | |||
| @@ -168,7 +168,7 @@ static int smp_stop_nmi_callback(unsigned int val, struct pt_regs *regs) | |||
| 168 | * this function calls the 'stop' function on all other CPUs in the system. | 168 | * this function calls the 'stop' function on all other CPUs in the system. |
| 169 | */ | 169 | */ |
| 170 | 170 | ||
| 171 | asmlinkage void smp_reboot_interrupt(void) | 171 | asmlinkage __visible void smp_reboot_interrupt(void) |
| 172 | { | 172 | { |
| 173 | ack_APIC_irq(); | 173 | ack_APIC_irq(); |
| 174 | irq_enter(); | 174 | irq_enter(); |
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 57409f6b8c62..f73b5d435bdc 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c | |||
| @@ -357,7 +357,7 @@ exit: | |||
| 357 | * for scheduling or signal handling. The actual stack switch is done in | 357 | * for scheduling or signal handling. The actual stack switch is done in |
| 358 | * entry.S | 358 | * entry.S |
| 359 | */ | 359 | */ |
| 360 | asmlinkage __kprobes struct pt_regs *sync_regs(struct pt_regs *eregs) | 360 | asmlinkage __visible __kprobes struct pt_regs *sync_regs(struct pt_regs *eregs) |
| 361 | { | 361 | { |
| 362 | struct pt_regs *regs = eregs; | 362 | struct pt_regs *regs = eregs; |
| 363 | /* Did already sync */ | 363 | /* Did already sync */ |
| @@ -601,11 +601,11 @@ do_spurious_interrupt_bug(struct pt_regs *regs, long error_code) | |||
| 601 | #endif | 601 | #endif |
| 602 | } | 602 | } |
| 603 | 603 | ||
| 604 | asmlinkage void __attribute__((weak)) smp_thermal_interrupt(void) | 604 | asmlinkage __visible void __attribute__((weak)) smp_thermal_interrupt(void) |
| 605 | { | 605 | { |
| 606 | } | 606 | } |
| 607 | 607 | ||
| 608 | asmlinkage void __attribute__((weak)) smp_threshold_interrupt(void) | 608 | asmlinkage __visible void __attribute__((weak)) smp_threshold_interrupt(void) |
| 609 | { | 609 | { |
| 610 | } | 610 | } |
| 611 | 611 | ||
diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c index 5edc34b5b951..b99b9ad8540c 100644 --- a/arch/x86/kernel/vsmp_64.c +++ b/arch/x86/kernel/vsmp_64.c | |||
| @@ -36,7 +36,7 @@ static int irq_routing_comply = 1; | |||
| 36 | * and vice versa. | 36 | * and vice versa. |
| 37 | */ | 37 | */ |
| 38 | 38 | ||
| 39 | asmlinkage unsigned long vsmp_save_fl(void) | 39 | asmlinkage __visible unsigned long vsmp_save_fl(void) |
| 40 | { | 40 | { |
| 41 | unsigned long flags = native_save_fl(); | 41 | unsigned long flags = native_save_fl(); |
| 42 | 42 | ||
| @@ -56,7 +56,7 @@ __visible void vsmp_restore_fl(unsigned long flags) | |||
| 56 | } | 56 | } |
| 57 | PV_CALLEE_SAVE_REGS_THUNK(vsmp_restore_fl); | 57 | PV_CALLEE_SAVE_REGS_THUNK(vsmp_restore_fl); |
| 58 | 58 | ||
| 59 | asmlinkage void vsmp_irq_disable(void) | 59 | asmlinkage __visible void vsmp_irq_disable(void) |
| 60 | { | 60 | { |
| 61 | unsigned long flags = native_save_fl(); | 61 | unsigned long flags = native_save_fl(); |
| 62 | 62 | ||
| @@ -64,7 +64,7 @@ asmlinkage void vsmp_irq_disable(void) | |||
| 64 | } | 64 | } |
| 65 | PV_CALLEE_SAVE_REGS_THUNK(vsmp_irq_disable); | 65 | PV_CALLEE_SAVE_REGS_THUNK(vsmp_irq_disable); |
| 66 | 66 | ||
| 67 | asmlinkage void vsmp_irq_enable(void) | 67 | asmlinkage __visible void vsmp_irq_enable(void) |
| 68 | { | 68 | { |
| 69 | unsigned long flags = native_save_fl(); | 69 | unsigned long flags = native_save_fl(); |
| 70 | 70 | ||
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 8b8fc0b792ba..b6c0bacca9bd 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
| @@ -280,7 +280,7 @@ int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) | |||
| 280 | } | 280 | } |
| 281 | EXPORT_SYMBOL_GPL(kvm_set_apic_base); | 281 | EXPORT_SYMBOL_GPL(kvm_set_apic_base); |
| 282 | 282 | ||
| 283 | asmlinkage void kvm_spurious_fault(void) | 283 | asmlinkage __visible void kvm_spurious_fault(void) |
| 284 | { | 284 | { |
| 285 | /* Fault while not rebooting. We want the trace. */ | 285 | /* Fault while not rebooting. We want the trace. */ |
| 286 | BUG(); | 286 | BUG(); |
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index ad1fb5f53925..aae94132bc24 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c | |||
| @@ -233,13 +233,13 @@ static void lguest_end_context_switch(struct task_struct *next) | |||
| 233 | * flags word contains all kind of stuff, but in practice Linux only cares | 233 | * flags word contains all kind of stuff, but in practice Linux only cares |
| 234 | * about the interrupt flag. Our "save_flags()" just returns that. | 234 | * about the interrupt flag. Our "save_flags()" just returns that. |
| 235 | */ | 235 | */ |
| 236 | asmlinkage unsigned long lguest_save_fl(void) | 236 | asmlinkage __visible unsigned long lguest_save_fl(void) |
| 237 | { | 237 | { |
| 238 | return lguest_data.irq_enabled; | 238 | return lguest_data.irq_enabled; |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | /* Interrupts go off... */ | 241 | /* Interrupts go off... */ |
| 242 | asmlinkage void lguest_irq_disable(void) | 242 | asmlinkage __visible void lguest_irq_disable(void) |
| 243 | { | 243 | { |
| 244 | lguest_data.irq_enabled = 0; | 244 | lguest_data.irq_enabled = 0; |
| 245 | } | 245 | } |
diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c index a5449089cd9f..9e6545f269e5 100644 --- a/arch/x86/math-emu/errors.c +++ b/arch/x86/math-emu/errors.c | |||
| @@ -302,7 +302,7 @@ static struct { | |||
| 302 | 0x242 in div_Xsig.S | 302 | 0x242 in div_Xsig.S |
| 303 | */ | 303 | */ |
| 304 | 304 | ||
| 305 | asmlinkage void FPU_exception(int n) | 305 | asmlinkage __visible void FPU_exception(int n) |
| 306 | { | 306 | { |
| 307 | int i, int_type; | 307 | int i, int_type; |
| 308 | 308 | ||
| @@ -492,7 +492,7 @@ int real_2op_NaN(FPU_REG const *b, u_char tagb, | |||
| 492 | 492 | ||
| 493 | /* Invalid arith operation on Valid registers */ | 493 | /* Invalid arith operation on Valid registers */ |
| 494 | /* Returns < 0 if the exception is unmasked */ | 494 | /* Returns < 0 if the exception is unmasked */ |
| 495 | asmlinkage int arith_invalid(int deststnr) | 495 | asmlinkage __visible int arith_invalid(int deststnr) |
| 496 | { | 496 | { |
| 497 | 497 | ||
| 498 | EXCEPTION(EX_Invalid); | 498 | EXCEPTION(EX_Invalid); |
| @@ -507,7 +507,7 @@ asmlinkage int arith_invalid(int deststnr) | |||
| 507 | } | 507 | } |
| 508 | 508 | ||
| 509 | /* Divide a finite number by zero */ | 509 | /* Divide a finite number by zero */ |
| 510 | asmlinkage int FPU_divide_by_zero(int deststnr, u_char sign) | 510 | asmlinkage __visible int FPU_divide_by_zero(int deststnr, u_char sign) |
| 511 | { | 511 | { |
| 512 | FPU_REG *dest = &st(deststnr); | 512 | FPU_REG *dest = &st(deststnr); |
| 513 | int tag = TAG_Valid; | 513 | int tag = TAG_Valid; |
| @@ -539,7 +539,7 @@ int set_precision_flag(int flags) | |||
| 539 | } | 539 | } |
| 540 | 540 | ||
| 541 | /* This may be called often, so keep it lean */ | 541 | /* This may be called often, so keep it lean */ |
| 542 | asmlinkage void set_precision_flag_up(void) | 542 | asmlinkage __visible void set_precision_flag_up(void) |
| 543 | { | 543 | { |
| 544 | if (control_word & CW_Precision) | 544 | if (control_word & CW_Precision) |
| 545 | partial_status |= (SW_Precision | SW_C1); /* The masked response */ | 545 | partial_status |= (SW_Precision | SW_C1); /* The masked response */ |
| @@ -548,7 +548,7 @@ asmlinkage void set_precision_flag_up(void) | |||
| 548 | } | 548 | } |
| 549 | 549 | ||
| 550 | /* This may be called often, so keep it lean */ | 550 | /* This may be called often, so keep it lean */ |
| 551 | asmlinkage void set_precision_flag_down(void) | 551 | asmlinkage __visible void set_precision_flag_down(void) |
| 552 | { | 552 | { |
| 553 | if (control_word & CW_Precision) { /* The masked response */ | 553 | if (control_word & CW_Precision) { /* The masked response */ |
| 554 | partial_status &= ~SW_C1; | 554 | partial_status &= ~SW_C1; |
| @@ -557,7 +557,7 @@ asmlinkage void set_precision_flag_down(void) | |||
| 557 | EXCEPTION(EX_Precision); | 557 | EXCEPTION(EX_Precision); |
| 558 | } | 558 | } |
| 559 | 559 | ||
| 560 | asmlinkage int denormal_operand(void) | 560 | asmlinkage __visible int denormal_operand(void) |
| 561 | { | 561 | { |
| 562 | if (control_word & CW_Denormal) { /* The masked response */ | 562 | if (control_word & CW_Denormal) { /* The masked response */ |
| 563 | partial_status |= SW_Denorm_Op; | 563 | partial_status |= SW_Denorm_Op; |
| @@ -568,7 +568,7 @@ asmlinkage int denormal_operand(void) | |||
| 568 | } | 568 | } |
| 569 | } | 569 | } |
| 570 | 570 | ||
| 571 | asmlinkage int arith_overflow(FPU_REG *dest) | 571 | asmlinkage __visible int arith_overflow(FPU_REG *dest) |
| 572 | { | 572 | { |
| 573 | int tag = TAG_Valid; | 573 | int tag = TAG_Valid; |
| 574 | 574 | ||
| @@ -596,7 +596,7 @@ asmlinkage int arith_overflow(FPU_REG *dest) | |||
| 596 | 596 | ||
| 597 | } | 597 | } |
| 598 | 598 | ||
| 599 | asmlinkage int arith_underflow(FPU_REG *dest) | 599 | asmlinkage __visible int arith_underflow(FPU_REG *dest) |
| 600 | { | 600 | { |
| 601 | int tag = TAG_Valid; | 601 | int tag = TAG_Valid; |
| 602 | 602 | ||
diff --git a/arch/x86/platform/olpc/olpc-xo1-pm.c b/arch/x86/platform/olpc/olpc-xo1-pm.c index ff0174dda810..a9acde72d4ed 100644 --- a/arch/x86/platform/olpc/olpc-xo1-pm.c +++ b/arch/x86/platform/olpc/olpc-xo1-pm.c | |||
| @@ -75,7 +75,7 @@ static int xo1_power_state_enter(suspend_state_t pm_state) | |||
| 75 | return 0; | 75 | return 0; |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | asmlinkage int xo1_do_sleep(u8 sleep_state) | 78 | asmlinkage __visible int xo1_do_sleep(u8 sleep_state) |
| 79 | { | 79 | { |
| 80 | void *pgd_addr = __va(read_cr3()); | 80 | void *pgd_addr = __va(read_cr3()); |
| 81 | 81 | ||
diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c index 304fca20d96e..35e2bb6c0f37 100644 --- a/arch/x86/power/hibernate_64.c +++ b/arch/x86/power/hibernate_64.c | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | extern __visible const void __nosave_begin, __nosave_end; | 23 | extern __visible const void __nosave_begin, __nosave_end; |
| 24 | 24 | ||
| 25 | /* Defined in hibernate_asm_64.S */ | 25 | /* Defined in hibernate_asm_64.S */ |
| 26 | extern asmlinkage int restore_image(void); | 26 | extern asmlinkage __visible int restore_image(void); |
| 27 | 27 | ||
| 28 | /* | 28 | /* |
| 29 | * Address to jump to in the last phase of restore in order to get to the image | 29 | * Address to jump to in the last phase of restore in order to get to the image |
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 201d09a7c46b..c34bfc4bbe7f 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
| @@ -1515,7 +1515,7 @@ static void __init xen_pvh_early_guest_init(void) | |||
| 1515 | } | 1515 | } |
| 1516 | 1516 | ||
| 1517 | /* First C function to be called on Xen boot */ | 1517 | /* First C function to be called on Xen boot */ |
| 1518 | asmlinkage void __init xen_start_kernel(void) | 1518 | asmlinkage __visible void __init xen_start_kernel(void) |
| 1519 | { | 1519 | { |
| 1520 | struct physdev_set_iopl set_iopl; | 1520 | struct physdev_set_iopl set_iopl; |
| 1521 | int rc; | 1521 | int rc; |
diff --git a/arch/x86/xen/irq.c b/arch/x86/xen/irq.c index 08f763de26fe..a1207cb6472a 100644 --- a/arch/x86/xen/irq.c +++ b/arch/x86/xen/irq.c | |||
| @@ -23,7 +23,7 @@ void xen_force_evtchn_callback(void) | |||
| 23 | (void)HYPERVISOR_xen_version(0, NULL); | 23 | (void)HYPERVISOR_xen_version(0, NULL); |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | asmlinkage unsigned long xen_save_fl(void) | 26 | asmlinkage __visible unsigned long xen_save_fl(void) |
| 27 | { | 27 | { |
| 28 | struct vcpu_info *vcpu; | 28 | struct vcpu_info *vcpu; |
| 29 | unsigned long flags; | 29 | unsigned long flags; |
| @@ -63,7 +63,7 @@ __visible void xen_restore_fl(unsigned long flags) | |||
| 63 | } | 63 | } |
| 64 | PV_CALLEE_SAVE_REGS_THUNK(xen_restore_fl); | 64 | PV_CALLEE_SAVE_REGS_THUNK(xen_restore_fl); |
| 65 | 65 | ||
| 66 | asmlinkage void xen_irq_disable(void) | 66 | asmlinkage __visible void xen_irq_disable(void) |
| 67 | { | 67 | { |
| 68 | /* There's a one instruction preempt window here. We need to | 68 | /* There's a one instruction preempt window here. We need to |
| 69 | make sure we're don't switch CPUs between getting the vcpu | 69 | make sure we're don't switch CPUs between getting the vcpu |
| @@ -74,7 +74,7 @@ asmlinkage void xen_irq_disable(void) | |||
| 74 | } | 74 | } |
| 75 | PV_CALLEE_SAVE_REGS_THUNK(xen_irq_disable); | 75 | PV_CALLEE_SAVE_REGS_THUNK(xen_irq_disable); |
| 76 | 76 | ||
| 77 | asmlinkage void xen_irq_enable(void) | 77 | asmlinkage __visible void xen_irq_enable(void) |
| 78 | { | 78 | { |
| 79 | struct vcpu_info *vcpu; | 79 | struct vcpu_info *vcpu; |
| 80 | 80 | ||
