~ubuntu-branches/ubuntu/vivid/oss4/vivid

« back to all changes in this revision

Viewing changes to .pc/002_fix-linux-oss_native_word.patch/kernel/OS/Linux/wrapper/wrap.h

  • Committer: Package Import Robot
  • Author(s): Sebastien NOEL, Sebastien NOEL, Benda Xu
  • Date: 2014-10-23 22:47:56 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20141023224756-ugge2zw3qib5ldip
Tags: 4.2-build2010-1
[ Sebastien NOEL ]
* New upstream release.
  - fix build with recent kernel. (Closes: #696751)
* Add build dependency on libtool-bin. (Closes: #761783)

[ Benda Xu ]
* Use debhelper 9.
* Bump to standard 3.9.6.
* Add Benda Xu to uploaders.
* Run wrap-and-sort.
* Canonicalize Vcs-Svn field and add Vcs-Browser field.
* Get rid of limits.h copy hack, leverage include-fixed from gcc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 * Some integer types
23
23
 */
24
24
#if defined(__x86_64__)
25
 
typedef unsigned long long oss_native_word;     /* Same as the address and status register size */
 
25
typedef unsigned long oss_native_word;  /* Same as the address and status register size */
26
26
#else
27
27
typedef unsigned long oss_native_word;  /* Same as the address and status register size */
28
28
#endif
60
60
extern unsigned long long oss_get_jiffies (void);
61
61
extern char *oss_get_procname (void);
62
62
extern int oss_get_pid (void);
63
 
extern int oss_get_uid (void);
 
63
extern unsigned int oss_get_uid (void);
 
64
 
64
65
 
65
66
struct oss_wait_queue;
66
67
struct module;
147
148
  int (*release) (oss_inode_handle_t *, oss_file_handle_t *);
148
149
  long (*compat_ioctl) (oss_file_handle_t *, unsigned int, unsigned long);
149
150
  long (*unlocked_ioctl) (oss_file_handle_t *, unsigned int, unsigned long);
150
 
  int (*fsync) (oss_inode_handle_t *, oss_file_handle_t *);
151
 
  int (*fasync) (oss_inode_handle_t *, oss_file_handle_t *, int);
152
151
}
153
152
oss_file_operation_handle_t;
154
153
 
186
185
/*
187
186
 * PCI config space access (in osscore.c)
188
187
 */
189
 
extern char *oss_pci_read_devpath (dev_info_t * dip);
 
188
extern const char *oss_pci_read_devpath (dev_info_t * dip);
190
189
extern int osscore_pci_read_config_byte (dev_info_t * dip, unsigned int where,
191
190
                                         unsigned char *val);
192
191
extern int osscore_pci_read_config_irq (dev_info_t * dip, unsigned int where,