Commit ee66a461 authored by Linus Torvalds's avatar Linus Torvalds

Merge http://lia64.bkbits.net/to-linus-2.5

into home.osdl.org:/home/torvalds/v2.5/linux
parents b6f995cc b9ac2245
...@@ -51,10 +51,10 @@ There may be more modes. ...@@ -51,10 +51,10 @@ There may be more modes.
Drivers that support modedb boot options Drivers that support modedb boot options
Boot Name Cards Supported Boot Name Cards Supported
ami - Amiga chipset frame buffer amifb - Amiga chipset frame buffer
aty128fb - ATI Rage128 / Pro frame buffer aty128fb - ATI Rage128 / Pro frame buffer
atyfb - ATI Mach64 frame buffer atyfb - ATI Mach64 frame buffer
tdfx - 3D Fx frame buffer tdfxfb - 3D Fx frame buffer
tridentfb - Trident (Cyber)blade chipset frame buffer tridentfb - Trident (Cyber)blade chipset frame buffer
BTW, only a few drivers use this at the moment. Others are to follow BTW, only a few drivers use this at the moment. Others are to follow
......
...@@ -825,8 +825,15 @@ define all-sources ...@@ -825,8 +825,15 @@ define all-sources
-name '*.[chS]' -print ) -name '*.[chS]' -print )
endef endef
quiet_cmd_cscope = MAKE $@ quiet_cmd_cscope-file = FILELST cscope.files
cmd_cscope = $(all-sources) | cscope -k -b -i - cmd_cscope-file = $(all-sources) > cscope.files
quiet_cmd_cscope = MAKE cscope.out
cmd_cscope = cscope -k -b
cscope: FORCE
$(call cmd,cscope-file)
$(call cmd,cscope)
quiet_cmd_TAGS = MAKE $@ quiet_cmd_TAGS = MAKE $@
cmd_TAGS = $(all-sources) | etags - cmd_TAGS = $(all-sources) | etags -
...@@ -840,9 +847,6 @@ define cmd_tags ...@@ -840,9 +847,6 @@ define cmd_tags
$(all-sources) | xargs ctags $$CTAGSF -a $(all-sources) | xargs ctags $$CTAGSF -a
endef endef
cscope: FORCE
$(call cmd,cscope)
TAGS: FORCE TAGS: FORCE
$(call cmd,TAGS) $(call cmd,TAGS)
......
...@@ -93,12 +93,12 @@ static struct dongle_driver act200l = { ...@@ -93,12 +93,12 @@ static struct dongle_driver act200l = {
.set_speed = act200l_change_speed, .set_speed = act200l_change_speed,
}; };
int __init act200l_init(void) static int __init act200l_init(void)
{ {
return irda_register_dongle(&act200l); return irda_register_dongle(&act200l);
} }
void __exit act200l_cleanup(void) static void __exit act200l_cleanup(void)
{ {
irda_unregister_dongle(&act200l); irda_unregister_dongle(&act200l);
} }
......
...@@ -92,12 +92,12 @@ static struct dongle_reg dongle = { ...@@ -92,12 +92,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init act200l_init(void) static int __init act200l_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit act200l_cleanup(void) static void __exit act200l_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -89,7 +89,7 @@ static struct dongle_driver act220l_plus = { ...@@ -89,7 +89,7 @@ static struct dongle_driver act220l_plus = {
.set_speed = actisys_change_speed, .set_speed = actisys_change_speed,
}; };
int __init actisys_sir_init(void) static int __init actisys_sir_init(void)
{ {
int ret; int ret;
...@@ -107,7 +107,7 @@ int __init actisys_sir_init(void) ...@@ -107,7 +107,7 @@ int __init actisys_sir_init(void)
return 0; return 0;
} }
void __exit actisys_sir_cleanup(void) static void __exit actisys_sir_cleanup(void)
{ {
/* We have to remove both dongles */ /* We have to remove both dongles */
irda_unregister_dongle(&act220l_plus); irda_unregister_dongle(&act220l_plus);
......
...@@ -91,7 +91,7 @@ static struct dongle_reg dongle_plus = { ...@@ -91,7 +91,7 @@ static struct dongle_reg dongle_plus = {
* So, we register a dongle of each sort and let irattach * So, we register a dongle of each sort and let irattach
* pick the right one... * pick the right one...
*/ */
int __init actisys_init(void) static int __init actisys_init(void)
{ {
int ret; int ret;
...@@ -108,7 +108,7 @@ int __init actisys_init(void) ...@@ -108,7 +108,7 @@ int __init actisys_init(void)
return 0; return 0;
} }
void __exit actisys_cleanup(void) static void __exit actisys_cleanup(void)
{ {
/* We have to remove both dongles */ /* We have to remove both dongles */
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
......
...@@ -133,7 +133,7 @@ static void SetCOMInterrupts(struct ali_ircc_cb *self , unsigned char enable); ...@@ -133,7 +133,7 @@ static void SetCOMInterrupts(struct ali_ircc_cb *self , unsigned char enable);
* Initialize chip. Find out whay kinds of chips we are dealing with * Initialize chip. Find out whay kinds of chips we are dealing with
* and their configuation registers address * and their configuation registers address
*/ */
int __init ali_ircc_init(void) static int __init ali_ircc_init(void)
{ {
ali_chip_t *chip; ali_chip_t *chip;
chipio_t info; chipio_t info;
......
...@@ -97,7 +97,7 @@ static int ep7211_ir_reset(struct irda_task *task) ...@@ -97,7 +97,7 @@ static int ep7211_ir_reset(struct irda_task *task)
* Initialize EP7211 I/R module * Initialize EP7211 I/R module
* *
*/ */
int __init ep7211_ir_init(void) static int __init ep7211_ir_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
......
...@@ -52,12 +52,12 @@ static struct dongle_reg dongle = { ...@@ -52,12 +52,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init esi_init(void) static int __init esi_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit esi_cleanup(void) static void __exit esi_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -72,12 +72,12 @@ static struct dongle_driver girbil = { ...@@ -72,12 +72,12 @@ static struct dongle_driver girbil = {
.set_speed = girbil_change_speed, .set_speed = girbil_change_speed,
}; };
int __init girbil_init(void) static int __init girbil_init(void)
{ {
return irda_register_dongle(&girbil); return irda_register_dongle(&girbil);
} }
void __exit girbil_cleanup(void) static void __exit girbil_cleanup(void)
{ {
irda_unregister_dongle(&girbil); irda_unregister_dongle(&girbil);
} }
......
...@@ -71,12 +71,12 @@ static struct dongle_reg dongle = { ...@@ -71,12 +71,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init girbil_init(void) static int __init girbil_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit girbil_cleanup(void) static void __exit girbil_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -98,7 +98,7 @@ EXPORT_SYMBOL(irport_change_speed); ...@@ -98,7 +98,7 @@ EXPORT_SYMBOL(irport_change_speed);
EXPORT_SYMBOL(irport_net_open); EXPORT_SYMBOL(irport_net_open);
EXPORT_SYMBOL(irport_net_close); EXPORT_SYMBOL(irport_net_close);
int __init irport_init(void) static int __init irport_init(void)
{ {
int i; int i;
......
...@@ -64,12 +64,12 @@ static struct dongle_driver litelink = { ...@@ -64,12 +64,12 @@ static struct dongle_driver litelink = {
.set_speed = litelink_change_speed, .set_speed = litelink_change_speed,
}; };
int __init litelink_sir_init(void) static int __init litelink_sir_init(void)
{ {
return irda_register_dongle(&litelink); return irda_register_dongle(&litelink);
} }
void __exit litelink_sir_cleanup(void) static void __exit litelink_sir_cleanup(void)
{ {
irda_unregister_dongle(&litelink); irda_unregister_dongle(&litelink);
} }
......
...@@ -56,12 +56,12 @@ static struct dongle_reg dongle = { ...@@ -56,12 +56,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init litelink_init(void) static int __init litelink_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit litelink_cleanup(void) static void __exit litelink_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -66,13 +66,13 @@ static struct dongle_driver ma600 = { ...@@ -66,13 +66,13 @@ static struct dongle_driver ma600 = {
}; };
int __init ma600_sir_init(void) static int __init ma600_sir_init(void)
{ {
IRDA_DEBUG(2, "%s()\n", __FUNCTION__); IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
return irda_register_dongle(&ma600); return irda_register_dongle(&ma600);
} }
void __exit ma600_sir_cleanup(void) static void __exit ma600_sir_cleanup(void)
{ {
IRDA_DEBUG(2, "%s()\n", __FUNCTION__); IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
irda_unregister_dongle(&ma600); irda_unregister_dongle(&ma600);
......
...@@ -82,13 +82,13 @@ static struct dongle_reg dongle = { ...@@ -82,13 +82,13 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init ma600_init(void) static int __init ma600_init(void)
{ {
IRDA_DEBUG(2, "%s()\n", __FUNCTION__); IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit ma600_cleanup(void) static void __exit ma600_cleanup(void)
{ {
IRDA_DEBUG(2, "%s()\n", __FUNCTION__); IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
......
...@@ -49,12 +49,12 @@ static struct dongle_driver mcp2120 = { ...@@ -49,12 +49,12 @@ static struct dongle_driver mcp2120 = {
.set_speed = mcp2120_change_speed, .set_speed = mcp2120_change_speed,
}; };
int __init mcp2120_init(void) static int __init mcp2120_init(void)
{ {
return irda_register_dongle(&mcp2120); return irda_register_dongle(&mcp2120);
} }
void __exit mcp2120_cleanup(void) static void __exit mcp2120_cleanup(void)
{ {
irda_unregister_dongle(&mcp2120); irda_unregister_dongle(&mcp2120);
} }
......
...@@ -48,12 +48,12 @@ static struct dongle_reg dongle = { ...@@ -48,12 +48,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init mcp2120_init(void) static int __init mcp2120_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit mcp2120_cleanup(void) static void __exit mcp2120_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -155,7 +155,7 @@ static int nsc_ircc_pmproc(struct pm_dev *dev, pm_request_t rqst, void *data); ...@@ -155,7 +155,7 @@ static int nsc_ircc_pmproc(struct pm_dev *dev, pm_request_t rqst, void *data);
* Initialize chip. Just try to find out how many chips we are dealing with * Initialize chip. Just try to find out how many chips we are dealing with
* and where they are * and where they are
*/ */
int __init nsc_ircc_init(void) static int __init nsc_ircc_init(void)
{ {
chipio_t info; chipio_t info;
nsc_chip_t *chip; nsc_chip_t *chip;
......
...@@ -78,12 +78,12 @@ static struct dongle_driver old_belkin = { ...@@ -78,12 +78,12 @@ static struct dongle_driver old_belkin = {
.set_speed = old_belkin_change_speed, .set_speed = old_belkin_change_speed,
}; };
int __init old_belkin_init(void) static int __init old_belkin_init(void)
{ {
return irda_register_dongle(&old_belkin); return irda_register_dongle(&old_belkin);
} }
void __exit old_belkin_cleanup(void) static void __exit old_belkin_cleanup(void)
{ {
irda_unregister_dongle(&old_belkin); irda_unregister_dongle(&old_belkin);
} }
......
...@@ -82,12 +82,12 @@ static struct dongle_reg dongle = { ...@@ -82,12 +82,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init old_belkin_init(void) static int __init old_belkin_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit old_belkin_cleanup(void) static void __exit old_belkin_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -322,7 +322,7 @@ static inline void register_bank(int iobase, int bank) ...@@ -322,7 +322,7 @@ static inline void register_bank(int iobase, int bank)
* Initialize chip. Just try to find out how many chips we are dealing with * Initialize chip. Just try to find out how many chips we are dealing with
* and where they are * and where they are
*/ */
int __init smsc_ircc_init(void) static int __init smsc_ircc_init(void)
{ {
int ret=-ENODEV; int ret=-ENODEV;
...@@ -1727,7 +1727,7 @@ static int __exit smsc_ircc_close(struct smsc_ircc_cb *self) ...@@ -1727,7 +1727,7 @@ static int __exit smsc_ircc_close(struct smsc_ircc_cb *self)
return 0; return 0;
} }
void __exit smsc_ircc_cleanup(void) static void __exit smsc_ircc_cleanup(void)
{ {
int i; int i;
......
...@@ -59,7 +59,7 @@ static struct dongle_driver tekram = { ...@@ -59,7 +59,7 @@ static struct dongle_driver tekram = {
.set_speed = tekram_change_speed, .set_speed = tekram_change_speed,
}; };
int __init tekram_sir_init(void) static int __init tekram_sir_init(void)
{ {
if (tekram_delay < 1 || tekram_delay > 500) if (tekram_delay < 1 || tekram_delay > 500)
tekram_delay = 200; tekram_delay = 200;
...@@ -68,7 +68,7 @@ int __init tekram_sir_init(void) ...@@ -68,7 +68,7 @@ int __init tekram_sir_init(void)
return irda_register_dongle(&tekram); return irda_register_dongle(&tekram);
} }
void __exit tekram_sir_cleanup(void) static void __exit tekram_sir_cleanup(void)
{ {
irda_unregister_dongle(&tekram); irda_unregister_dongle(&tekram);
} }
......
...@@ -52,12 +52,12 @@ static struct dongle_reg dongle = { ...@@ -52,12 +52,12 @@ static struct dongle_reg dongle = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
int __init tekram_init(void) static int __init tekram_init(void)
{ {
return irda_device_register_dongle(&dongle); return irda_device_register_dongle(&dongle);
} }
void __exit tekram_cleanup(void) static void __exit tekram_cleanup(void)
{ {
irda_device_unregister_dongle(&dongle); irda_device_unregister_dongle(&dongle);
} }
......
...@@ -145,7 +145,7 @@ static struct pci_driver via_driver = { ...@@ -145,7 +145,7 @@ static struct pci_driver via_driver = {
* *
* Initialize chip. Just find out chip type and resource. * Initialize chip. Just find out chip type and resource.
*/ */
int __init via_ircc_init(void) static int __init via_ircc_init(void)
{ {
int rc; int rc;
......
...@@ -110,7 +110,7 @@ static struct net_device_stats *w83977af_net_get_stats(struct net_device *dev); ...@@ -110,7 +110,7 @@ static struct net_device_stats *w83977af_net_get_stats(struct net_device *dev);
* Initialize chip. Just try to find out how many chips we are dealing with * Initialize chip. Just try to find out how many chips we are dealing with
* and where they are * and where they are
*/ */
int __init w83977af_init(void) static int __init w83977af_init(void)
{ {
int i; int i;
...@@ -129,7 +129,7 @@ int __init w83977af_init(void) ...@@ -129,7 +129,7 @@ int __init w83977af_init(void)
* Close all configured chips * Close all configured chips
* *
*/ */
void __exit w83977af_cleanup(void) static void __exit w83977af_cleanup(void)
{ {
int i; int i;
......
...@@ -545,7 +545,7 @@ static const char *fbcon_startup(void) ...@@ -545,7 +545,7 @@ static const char *fbcon_startup(void)
return display_desc; return display_desc;
done = 1; done = 1;
info = registered_fb[num_registered_fb-1]; info = registered_fb[0];
if (!info) return NULL; if (!info) return NULL;
info->currcon = -1; info->currcon = -1;
......
...@@ -409,6 +409,7 @@ asmlinkage void __init start_kernel(void) ...@@ -409,6 +409,7 @@ asmlinkage void __init start_kernel(void)
parse_args("Booting kernel", command_line, __start___param, parse_args("Booting kernel", command_line, __start___param,
__stop___param - __start___param, __stop___param - __start___param,
&unknown_bootoption); &unknown_bootoption);
sort_main_extable();
trap_init(); trap_init();
rcu_init(); rcu_init();
init_IRQ(); init_IRQ();
...@@ -436,7 +437,6 @@ asmlinkage void __init start_kernel(void) ...@@ -436,7 +437,6 @@ asmlinkage void __init start_kernel(void)
page_address_init(); page_address_init();
mem_init(); mem_init();
kmem_cache_init(); kmem_cache_init();
sort_main_extable();
if (late_time_init) if (late_time_init)
late_time_init(); late_time_init();
calibrate_delay(); calibrate_delay();
......
...@@ -124,6 +124,9 @@ ...@@ -124,6 +124,9 @@
(NS_TO_JIFFIES((p)->sleep_avg) * MAX_BONUS / \ (NS_TO_JIFFIES((p)->sleep_avg) * MAX_BONUS / \
MAX_SLEEP_AVG) MAX_SLEEP_AVG)
/* spinlock debugging needs this, even on !CONFIG_SMP */
spinlock_t kernel_flag __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#define TIMESLICE_GRANULARITY(p) (MIN_TIMESLICE * \ #define TIMESLICE_GRANULARITY(p) (MIN_TIMESLICE * \
(1 << (((MAX_BONUS - CURRENT_BONUS(p)) ? : 1) - 1)) * \ (1 << (((MAX_BONUS - CURRENT_BONUS(p)) ? : 1) - 1)) * \
...@@ -2867,7 +2870,6 @@ __init int migration_init(void) ...@@ -2867,7 +2870,6 @@ __init int migration_init(void)
* *
* Don't use in new code. * Don't use in new code.
*/ */
spinlock_t kernel_flag __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
EXPORT_SYMBOL(kernel_flag); EXPORT_SYMBOL(kernel_flag);
#endif #endif
......
...@@ -485,7 +485,7 @@ static int tcp_v6_check_established(struct sock *sk) ...@@ -485,7 +485,7 @@ static int tcp_v6_check_established(struct sock *sk)
unique: unique:
BUG_TRAP(sk_unhashed(sk)); BUG_TRAP(sk_unhashed(sk));
sk_add_node(sk, &head->chain); __sk_add_node(sk, &head->chain);
sk->sk_hashent = hash; sk->sk_hashent = hash;
sock_prot_inc_use(sk->sk_prot); sock_prot_inc_use(sk->sk_prot);
write_unlock_bh(&head->lock); write_unlock_bh(&head->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment