~ubuntu-branches/ubuntu/lucid/ndiswrapper/lucid

« back to all changes in this revision

Viewing changes to driver/crt.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-07 20:42:35 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20071207204235-s43f889d3h1u6vrl
Tags: 1.50-1ubuntu1
* Merge with Debian; remaining changes:
  - Build for lpia.
  - debian/control:
    + Update description to point out that the kernel source package is
      not required with the standard Ubuntu kernel.
    + Change the Maintainer address.
  - debian/control:
    + Drop ndiswrapper-source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
        return memset(s, c, count);
260
260
}
261
261
 
 
262
noregparm int WIN_FUNC(_win_memcmp,3)
 
263
        (void *s1, void *s2, SIZE_T n)
 
264
{
 
265
        return memcmp(s1, s2, n);
 
266
}
 
267
 
262
268
noregparm void WIN_FUNC(_win_srand,1)
263
269
        (UINT seed)
264
270
{
364
370
        int i, j;
365
371
        u8 *buf;
366
372
 
367
 
        buf = kmalloc(len * 3 + 1, gfp_irql());
 
373
        buf = kmalloc(len * 3 + 1, irql_gfp());
368
374
        if (!buf) {
369
375
                ERROR("couldn't allocate memory");
370
376
                return;