summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/alsa-driver/files/alsa-driver-1.0.10-gfp-flags.patch')
-rw-r--r--media-sound/alsa-driver/files/alsa-driver-1.0.10-gfp-flags.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/media-sound/alsa-driver/files/alsa-driver-1.0.10-gfp-flags.patch b/media-sound/alsa-driver/files/alsa-driver-1.0.10-gfp-flags.patch
deleted file mode 100644
index e210de89c69f..000000000000
--- a/media-sound/alsa-driver/files/alsa-driver-1.0.10-gfp-flags.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Hugh Dickins GFP flag changes to ALSA
-
---- alsa-driver-1.0.10/alsa-kernel/core/memalloc.c.orig 2005-10-31 13:11:53.000000000 +0000
-+++ alsa-driver-1.0.10/alsa-kernel/core/memalloc.c 2005-12-04 06:48:20.000000000 +0000
-@@ -197,6 +197,7 @@ void *snd_malloc_pages(size_t size, gfp_
-
- snd_assert(size > 0, return NULL);
- snd_assert(gfp_flags != 0, return NULL);
-+ gfp_flags |= __GFP_COMP; /* compound page lets parts be mapped */
- pg = get_order(size);
- if ((res = (void *) __get_free_pages(gfp_flags, pg)) != NULL) {
- mark_pages(virt_to_page(res), pg);
-@@ -241,6 +242,7 @@ static void *snd_malloc_dev_pages(struct
- snd_assert(dma != NULL, return NULL);
- pg = get_order(size);
- gfp_flags = GFP_KERNEL
-+ | __GFP_COMP /* compound page lets parts be mapped */
- | __GFP_NORETRY /* don't trigger OOM-killer */
- | __GFP_NOWARN; /* no stack trace print - this call is non-critical */
- res = dma_alloc_coherent(dev, PAGE_SIZE << pg, dma, gfp_flags);
-