-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 211139 b: refs/heads/master c: 62bdb28 h: refs/heads/master i: 211137: 2c34b0f 211135: a670d9e v: v3
- Loading branch information
David Howells
authored and
Linus Torvalds
committed
Sep 29, 2010
1 parent
a16046c
commit b5c6382
Showing
3 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 0f44fbd297e1cda5d9ecc9f5321a86fe647c7d4a | ||
refs/heads/master: 62bdb288bf464862a2801b2e53aadc6c4d100fab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* Handle the cache being disabled | ||
* | ||
* Copyright (C) 2010 Red Hat, Inc. All Rights Reserved. | ||
* Written by David Howells (dhowells@redhat.com) | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public Licence | ||
* as published by the Free Software Foundation; either version | ||
* 2 of the Licence, or (at your option) any later version. | ||
*/ | ||
#include <linux/mm.h> | ||
|
||
/* | ||
* allow userspace to flush the instruction cache | ||
*/ | ||
asmlinkage long sys_cacheflush(unsigned long start, unsigned long end) | ||
{ | ||
if (end < start) | ||
return -EINVAL; | ||
return 0; | ||
} |