summaryrefslogtreecommitdiff
path: root/linux/memory.c
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-07-20 20:21:10 +0000
committerRik Faith <faith@alephnull.com>2000-07-20 20:21:10 +0000
commit6d1ce8fe7727ee0a704a8a7464b22559ce9831fd (patch)
tree19334c9b87046e5c9ce26d51b706f91b027567b9 /linux/memory.c
parentb4722ec943b3c51e103aaf7c6c77fe7b9c2c716d (diff)
kfree_s was deprecated in 2.4.0-test?
Diffstat (limited to 'linux/memory.c')
-rw-r--r--linux/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/memory.c b/linux/memory.c
index 0e92401b..4d623ef3 100644
--- a/linux/memory.c
+++ b/linux/memory.c
@@ -197,7 +197,7 @@ void drm_free(void *pt, size_t size, int area)
int free_count;
if (!pt) DRM_MEM_ERROR(area, "Attempt to free NULL pointer\n");
- else kfree_s(pt, size);
+ else kfree(pt, size);
spin_lock(&drm_mem_lock);
drm_mem_stats[area].bytes_freed += size;
free_count = ++drm_mem_stats[area].free_count;