Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183254 Details for
Bug 91558
new ebuilds:bluetooth-alsa-1.6-r2.ebuild btsco-0.4a.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the kernel gentoo-sources-2.6.28
btsco-2.6.28.patch (text/plain), 11.08 KB, created by
Nilus
on 2009-02-26 13:05:12 UTC
(
hide
)
Description:
Patch to the kernel gentoo-sources-2.6.28
Filename:
MIME Type:
Creator:
Nilus
Created:
2009-02-26 13:05:12 UTC
Size:
11.08 KB
patch
obsolete
>--- include/sound/core.h.orig 2008-12-16 23:31:29.000000000 +0100 >+++ include/sound/core.h 2008-12-17 00:04:50.000000000 +0100 >@@ -29,6 +29,7 @@ > #include <linux/pm.h> /* pm_message_t */ > #include <linux/device.h> > #include <linux/stringify.h> >+#include "typedefs.h" > > /* number of supported soundcards */ > #ifdef CONFIG_SND_DYNAMIC_MINORS >@@ -380,12 +381,30 @@ > printk(fmt ,##args) > #endif > >+/** >+ * snd_assert - run-time assertion macro >+ * @expr: expression >+ * >+ * This macro checks the expression in run-time and invokes the commands >+ * given in the rest arguments if the assertion is failed. >+ * When CONFIG_SND_DEBUG is not set, the expression is executed but >+ * not checked. >+ */ >+#define snd_assert(expr, args...) do { \ >+ if (unlikely(!(expr))) { \ >+ snd_printk(KERN_ERR "BUG? (%s)\n", __ASTRING__(expr)); \ >+ dump_stack(); \ >+ args; \ >+ } \ >+} while (0) >+ > #define snd_BUG() WARN(1, "BUG?\n") > #define snd_BUG_ON(cond) WARN((cond), "BUG? (%s)\n", __stringify(cond)) > > #else /* !CONFIG_SND_DEBUG */ > > #define snd_printd(fmt, args...) do { } while (0) >+#define snd_assert(expr, args...) (void)(expr) > #define snd_BUG() do { } while (0) > static inline int __snd_bug_on(void) > { >--- include/sound/typedefs.h.orig 2008-12-17 00:15:10.000000000 +0100 >+++ include/sound/typedefs.h 2008-12-16 23:46:03.000000000 +0100 >@@ -0,0 +1,173 @@ >+/* >+ * Typedef's for backward compatibility (for out-of-kernel drivers) >+ * >+ * This file will be removed soon in future >+ */ >+ >+/* core stuff */ >+typedef struct snd_card snd_card_t; >+typedef struct snd_device snd_device_t; >+typedef struct snd_device_ops snd_device_ops_t; >+typedef enum snd_card_type snd_card_type_t; >+typedef struct snd_minor snd_minor_t; >+ >+/* info */ >+typedef struct snd_info_entry snd_info_entry_t; >+typedef struct snd_info_buffer snd_info_buffer_t; >+ >+/* control */ >+typedef struct snd_ctl_file snd_ctl_file_t; >+typedef struct snd_kcontrol snd_kcontrol_t; >+typedef struct snd_kcontrol_new snd_kcontrol_new_t; >+typedef struct snd_kcontrol_volatile snd_kcontrol_volatile_t; >+typedef struct snd_kctl_event snd_kctl_event_t; >+typedef struct snd_aes_iec958 snd_aes_iec958_t; >+typedef struct snd_ctl_card_info snd_ctl_card_info_t; >+typedef struct snd_ctl_elem_id snd_ctl_elem_id_t; >+typedef struct snd_ctl_elem_list snd_ctl_elem_list_t; >+typedef struct snd_ctl_elem_info snd_ctl_elem_info_t; >+typedef struct snd_ctl_elem_value snd_ctl_elem_value_t; >+typedef struct snd_ctl_event snd_ctl_event_t; >+#if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS_MODULE) >+typedef struct snd_mixer_oss snd_mixer_oss_t; >+#endif >+ >+/* timer */ >+typedef struct snd_timer snd_timer_t; >+typedef struct snd_timer_instance snd_timer_instance_t; >+typedef struct snd_timer_id snd_timer_id_t; >+typedef struct snd_timer_ginfo snd_timer_ginfo_t; >+typedef struct snd_timer_gparams snd_timer_gparams_t; >+typedef struct snd_timer_gstatus snd_timer_gstatus_t; >+typedef struct snd_timer_select snd_timer_select_t; >+typedef struct snd_timer_info snd_timer_info_t; >+typedef struct snd_timer_params snd_timer_params_t; >+typedef struct snd_timer_status snd_timer_status_t; >+typedef struct snd_timer_read snd_timer_read_t; >+typedef struct snd_timer_tread snd_timer_tread_t; >+ >+/* PCM */ >+typedef struct snd_pcm snd_pcm_t; >+typedef struct snd_pcm_str snd_pcm_str_t; >+typedef struct snd_pcm_substream snd_pcm_substream_t; >+typedef struct snd_pcm_info snd_pcm_info_t; >+typedef struct snd_pcm_hw_params snd_pcm_hw_params_t; >+typedef struct snd_pcm_sw_params snd_pcm_sw_params_t; >+typedef struct snd_pcm_channel_info snd_pcm_channel_info_t; >+typedef struct snd_pcm_status snd_pcm_status_t; >+typedef struct snd_pcm_mmap_status snd_pcm_mmap_status_t; >+typedef struct snd_pcm_mmap_control snd_pcm_mmap_control_t; >+typedef struct snd_mask snd_mask_t; >+typedef struct snd_sg_buf snd_pcm_sgbuf_t; >+ >+typedef struct snd_interval snd_interval_t; >+typedef struct snd_xferi snd_xferi_t; >+typedef struct snd_xfern snd_xfern_t; >+typedef struct snd_xferv snd_xferv_t; >+ >+typedef struct snd_pcm_file snd_pcm_file_t; >+typedef struct snd_pcm_runtime snd_pcm_runtime_t; >+typedef struct snd_pcm_hardware snd_pcm_hardware_t; >+typedef struct snd_pcm_ops snd_pcm_ops_t; >+typedef struct snd_pcm_hw_rule snd_pcm_hw_rule_t; >+typedef struct snd_pcm_hw_constraints snd_pcm_hw_constraints_t; >+typedef struct snd_ratnum ratnum_t; >+typedef struct snd_ratden ratden_t; >+typedef struct snd_pcm_hw_constraint_ratnums snd_pcm_hw_constraint_ratnums_t; >+typedef struct snd_pcm_hw_constraint_ratdens snd_pcm_hw_constraint_ratdens_t; >+typedef struct snd_pcm_hw_constraint_list snd_pcm_hw_constraint_list_t; >+typedef struct snd_pcm_group snd_pcm_group_t; >+typedef struct snd_pcm_notify snd_pcm_notify_t; >+ >+/* rawmidi */ >+typedef struct snd_rawmidi snd_rawmidi_t; >+typedef struct snd_rawmidi_info snd_rawmidi_info_t; >+typedef struct snd_rawmidi_params snd_rawmidi_params_t; >+typedef struct snd_rawmidi_status snd_rawmidi_status_t; >+typedef struct snd_rawmidi_runtime snd_rawmidi_runtime_t; >+typedef struct snd_rawmidi_substream snd_rawmidi_substream_t; >+typedef struct snd_rawmidi_str snd_rawmidi_str_t; >+typedef struct snd_rawmidi_ops snd_rawmidi_ops_t; >+typedef struct snd_rawmidi_global_ops snd_rawmidi_global_ops_t; >+typedef struct snd_rawmidi_file snd_rawmidi_file_t; >+ >+/* hwdep */ >+typedef struct snd_hwdep snd_hwdep_t; >+typedef struct snd_hwdep_info snd_hwdep_info_t; >+typedef struct snd_hwdep_dsp_status snd_hwdep_dsp_status_t; >+typedef struct snd_hwdep_dsp_image snd_hwdep_dsp_image_t; >+typedef struct snd_hwdep_ops snd_hwdep_ops_t; >+ >+/* sequencer */ >+typedef struct snd_seq_port_info snd_seq_port_info_t; >+typedef struct snd_seq_port_subscribe snd_seq_port_subscribe_t; >+typedef struct snd_seq_event snd_seq_event_t; >+typedef struct snd_seq_addr snd_seq_addr_t; >+typedef struct snd_seq_ev_volume snd_seq_ev_volume_t; >+typedef struct snd_seq_ev_loop snd_seq_ev_loop_t; >+typedef struct snd_seq_remove_events snd_seq_remove_events_t; >+typedef struct snd_seq_query_subs snd_seq_query_subs_t; >+typedef struct snd_seq_system_info snd_seq_system_info_t; >+typedef struct snd_seq_client_info snd_seq_client_info_t; >+typedef struct snd_seq_queue_info snd_seq_queue_info_t; >+typedef struct snd_seq_queue_status snd_seq_queue_status_t; >+typedef struct snd_seq_queue_tempo snd_seq_queue_tempo_t; >+typedef struct snd_seq_queue_owner snd_seq_queue_owner_t; >+typedef struct snd_seq_queue_timer snd_seq_queue_timer_t; >+typedef struct snd_seq_queue_client snd_seq_queue_client_t; >+typedef struct snd_seq_client_pool snd_seq_client_pool_t; >+typedef struct snd_seq_instr snd_seq_instr_t; >+typedef struct snd_seq_instr_data snd_seq_instr_data_t; >+typedef struct snd_seq_instr_header snd_seq_instr_header_t; >+ >+typedef struct snd_seq_user_client user_client_t; >+typedef struct snd_seq_kernel_client kernel_client_t; >+typedef struct snd_seq_client client_t; >+typedef struct snd_seq_queue queue_t; >+ >+/* seq_device */ >+typedef struct snd_seq_device snd_seq_device_t; >+typedef struct snd_seq_dev_ops snd_seq_dev_ops_t; >+ >+/* seq_midi */ >+typedef struct snd_midi_event snd_midi_event_t; >+ >+/* seq_midi_emul */ >+typedef struct snd_midi_channel snd_midi_channel_t; >+typedef struct snd_midi_channel_set snd_midi_channel_set_t; >+typedef struct snd_midi_op snd_midi_op_t; >+ >+/* seq_oss */ >+typedef struct snd_seq_oss_arg snd_seq_oss_arg_t; >+typedef struct snd_seq_oss_callback snd_seq_oss_callback_t; >+typedef struct snd_seq_oss_reg snd_seq_oss_reg_t; >+ >+/* virmidi */ >+typedef struct snd_virmidi_dev snd_virmidi_dev_t; >+typedef struct snd_virmidi snd_virmidi_t; >+ >+/* seq_instr */ >+typedef struct snd_seq_kcluster snd_seq_kcluster_t; >+typedef struct snd_seq_kinstr_ops snd_seq_kinstr_ops_t; >+typedef struct snd_seq_kinstr snd_seq_kinstr_t; >+typedef struct snd_seq_kinstr_list snd_seq_kinstr_list_t; >+ >+/* ac97 */ >+typedef struct snd_ac97_bus ac97_bus_t; >+typedef struct snd_ac97_bus_ops ac97_bus_ops_t; >+typedef struct snd_ac97_template ac97_template_t; >+typedef struct snd_ac97 ac97_t; >+ >+/* opl3/4 */ >+typedef struct snd_opl3 opl3_t; >+typedef struct snd_opl4 opl4_t; >+ >+/* mpu401 */ >+typedef struct snd_mpu401 mpu401_t; >+ >+/* i2c */ >+typedef struct snd_i2c_device snd_i2c_device_t; >+typedef struct snd_i2c_bus snd_i2c_bus_t; >+ >+typedef struct snd_ak4531 ak4531_t; >+ >--- include/linux/pid.h.orig 2008-12-17 01:33:29.000000000 +0100 >+++ include/linux/pid.h 2008-12-17 01:40:10.000000000 +0100 >@@ -111,6 +111,7 @@ > */ > extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); > extern struct pid *find_vpid(int nr); >+extern struct pid *find_pid(int nr); > > /* > * Lookup a PID in the hash table, and return with it's count elevated. >--- kernel/pid.c.orig 2008-12-17 01:33:52.000000000 +0100 >+++ kernel/pid.c 2008-12-17 01:36:41.000000000 +0100 >@@ -309,6 +309,12 @@ > } > EXPORT_SYMBOL_GPL(find_vpid); > >+struct pid *find_pid(int nr) >+{ >+ return find_pid_ns(nr, &init_pid_ns); >+} >+EXPORT_SYMBOL_GPL(find_pid); >+ > /* > * attach_pid() must be called with the tasklist_lock write-held. > */ >--- include/linux/sched.h.orig 2008-12-17 00:10:02.000000000 +0100 >+++ include/linux/sched.h 2008-12-17 00:10:57.000000000 +0100 >@@ -1829,6 +1829,7 @@ > extern void force_sig_specific(int, struct task_struct *); > extern int send_sig(int, struct task_struct *, int); > extern void zap_other_threads(struct task_struct *p); >+extern int kill_proc(pid_t, int, int); > extern struct sigqueue *sigqueue_alloc(void); > extern void sigqueue_free(struct sigqueue *); > extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group); >--- kernel/signal.c.orig 2008-12-17 01:43:48.000000000 +0100 >+++ kernel/signal.c 2008-12-17 01:29:40.000000000 +0100 >@@ -1237,6 +1237,17 @@ > } > EXPORT_SYMBOL(kill_pid); > >+int >+kill_proc(pid_t pid, int sig, int priv) >+{ >+ int ret; >+ >+ rcu_read_lock(); >+ ret = kill_pid_info(sig, __si_special(priv), find_pid(pid)); >+ rcu_read_unlock(); >+ return ret; >+} >+ > /* > * These functions support sending signals using preallocated sigqueue > * structures. This is needed "because realtime applications cannot >@@ -1929,6 +1940,7 @@ > EXPORT_SYMBOL_GPL(dequeue_signal); > EXPORT_SYMBOL(flush_signals); > EXPORT_SYMBOL(force_sig); >+EXPORT_SYMBOL(kill_proc); > EXPORT_SYMBOL(send_sig); > EXPORT_SYMBOL(send_sig_info); > EXPORT_SYMBOL(sigprocmask);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 91558
:
58130
|
58131
|
58132
|
58133
|
74911
|
74912
|
75892
|
75989
|
76076
|
76128
|
76129
|
76130
|
76131
|
77427
|
77428
|
79189
|
79190
|
79835
|
79836
|
80065
|
80066
|
80337
|
80338
|
86024
|
92013
|
105443
|
105450
|
105556
|
105793
|
105795
|
109657
|
112916
|
112918
|
112919
|
115957
|
116063
|
117200
|
124658
|
124659
|
124661
|
124667
|
124926
|
126016
|
145630
| 183254