Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'sparc-for-6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc

Pull sparc updates from Andreas Larsson:

- Add MODULE_DESCRIPTION for a number of sbus drivers

- Fix linking error for large sparc32 kernels

- Fix incorrect functions signature and prototype warnings for sparc64

* tag 'sparc-for-6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc:
sparc64: Fix prototype warnings in hibernate.c
sparc64: Fix prototype warning for prom_get_mmu_ihandle
sparc64: Fix incorrect function signature and add prototype for prom_cif_init
sparc64: Fix prototype warnings for floppy_64.h
sparc32: Fix truncated relocation errors when linking large kernels
sbus: add missing MODULE_DESCRIPTION() macros

+26 -13
+3 -2
arch/sparc/include/asm/floppy_64.h
··· 197 197 pdma_areasize = pdma_size; 198 198 } 199 199 200 - irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie) 200 + static irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie) 201 201 { 202 202 if (likely(doing_pdma)) { 203 203 void __iomem *stat = (void __iomem *) fdc_status; ··· 434 434 return -EINVAL; 435 435 } 436 436 437 - void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie) 437 + static void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, 438 + void *cookie) 438 439 { 439 440 floppy_interrupt(0, NULL); 440 441 }
+1
arch/sparc/include/asm/oplib_64.h
··· 247 247 int prom_ihandle2path(int handle, char *buffer, int bufsize); 248 248 249 249 /* Client interface level routines. */ 250 + void prom_cif_init(void *cif_handler); 250 251 void p1275_cmd_direct(unsigned long *); 251 252 252 253 #endif /* !(__SPARC64_OPLIB_H) */
+4 -2
arch/sparc/include/asm/uaccess_32.h
··· 95 95 ".section .fixup,#alloc,#execinstr\n\t" \ 96 96 ".align 4\n" \ 97 97 "3:\n\t" \ 98 - "b 2b\n\t" \ 98 + "sethi %%hi(2b), %0\n\t" \ 99 + "jmpl %0 + %%lo(2b), %%g0\n\t" \ 99 100 " mov %3, %0\n\t" \ 100 101 ".previous\n\n\t" \ 101 102 ".section __ex_table,#alloc\n\t" \ ··· 164 163 ".section .fixup,#alloc,#execinstr\n\t" \ 165 164 ".align 4\n" \ 166 165 "3:\n\t" \ 166 + "sethi %%hi(2b), %0\n\t" \ 167 167 "clr %1\n\t" \ 168 - "b 2b\n\t" \ 168 + "jmpl %0 + %%lo(2b), %%g0\n\t" \ 169 169 " mov %3, %0\n\n\t" \ 170 170 ".previous\n\t" \ 171 171 ".section __ex_table,#alloc\n\t" \
+11 -4
arch/sparc/kernel/head_32.S
··· 118 118 mov %o7, %g3 119 119 120 120 tst %o0 121 - be no_sun4u_here 121 + bne 2f 122 122 mov %g4, %o7 /* Previous %o7. */ 123 - 123 + sethi %hi(no_sun4u_here), %l1 124 + jmpl %l1 + %lo(no_sun4u_here), %g0 125 + nop 126 + 2: 124 127 mov %o0, %l0 ! stash away romvec 125 128 mov %o0, %g7 ! put it here too 126 129 mov %o1, %l1 ! stash away debug_vec too ··· 198 195 sub %o0, %l6, %o0 199 196 call %o1 200 197 nop 201 - ba halt_me 198 + sethi %hi(halt_me), %o0 199 + jmpl %o0 + %lo(halt_me), %g0 202 200 nop 203 201 204 202 not_a_sun4: ··· 435 431 #ifdef CONFIG_SMP 436 432 ldub [%g2 + %lo(boot_cpu_id)], %g1 437 433 cmp %g1, 0xff ! unset means first CPU 438 - bne leon_smp_cpu_startup ! continue only with master 434 + be 1f 435 + sethi %hi(leon_smp_cpu_startup), %g1 436 + jmpl %g1 + %lo(leon_smp_cpu_startup), %g0 439 437 nop 438 + 1: 440 439 #endif 441 440 /* Get CPU-ID from most significant 4-bit of ASR17 */ 442 441 rd %asr17, %g1
+1
arch/sparc/power/hibernate.c
··· 5 5 * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) 6 6 */ 7 7 8 + #include <linux/suspend.h> 8 9 #include <linux/mm.h> 9 10 10 11 #include <asm/hibernate.h>
-3
arch/sparc/prom/init_64.c
··· 26 26 * routines in the prom library. 27 27 * It gets passed the pointer to the PROM vector. 28 28 */ 29 - 30 - extern void prom_cif_init(void *); 31 - 32 29 void __init prom_init(void *cif_handler) 33 30 { 34 31 phandle node;
+1 -1
arch/sparc/prom/misc_64.c
··· 162 162 return 0xff; 163 163 } 164 164 165 - int prom_get_mmu_ihandle(void) 165 + static int prom_get_mmu_ihandle(void) 166 166 { 167 167 phandle node; 168 168 int ret;
+1 -1
arch/sparc/prom/p1275.c
··· 49 49 local_irq_restore(flags); 50 50 } 51 51 52 - void prom_cif_init(void *cif_handler, void *cif_stack) 52 + void prom_cif_init(void *cif_handler) 53 53 { 54 54 p1275buf.prom_cif_handler = (void (*)(long *))cif_handler; 55 55 }
+1
drivers/sbus/char/bbc_i2c.c
··· 418 418 419 419 module_platform_driver(bbc_i2c_driver); 420 420 421 + MODULE_DESCRIPTION("UltraSPARC-III bootbus i2c controller driver"); 421 422 MODULE_LICENSE("GPL");
+1
drivers/sbus/char/envctrl.c
··· 1130 1130 1131 1131 module_platform_driver(envctrl_driver); 1132 1132 1133 + MODULE_DESCRIPTION("SUN environment monitoring device driver"); 1133 1134 MODULE_LICENSE("GPL");
+1
drivers/sbus/char/flash.c
··· 211 211 212 212 module_platform_driver(flash_driver); 213 213 214 + MODULE_DESCRIPTION("OBP Flash Device driver"); 214 215 MODULE_LICENSE("GPL");
+1
drivers/sbus/char/uctrl.c
··· 431 431 432 432 module_platform_driver(uctrl_driver); 433 433 434 + MODULE_DESCRIPTION("Tadpole TS102 Microcontroller driver"); 434 435 MODULE_LICENSE("GPL");