-
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.
UAPI: (Scripted) Disintegrate arch/tile/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
- Loading branch information
David Howells
committed
Oct 9, 2012
1 parent
43e8585
commit df842f7
Showing
22 changed files
with
242 additions
and
146 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
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
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
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 |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += auxvec.h | ||
header-y += bitsperlong.h | ||
header-y += byteorder.h | ||
header-y += cachectl.h | ||
header-y += hardwall.h | ||
header-y += kvm_para.h | ||
header-y += mman.h | ||
header-y += ptrace.h | ||
header-y += setup.h | ||
header-y += sigcontext.h | ||
header-y += siginfo.h | ||
header-y += signal.h | ||
header-y += stat.h | ||
header-y += swab.h | ||
header-y += unistd.h |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,51 @@ | ||
/* | ||
* Copyright 2010 Tilera Corporation. All Rights Reserved. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation, version 2. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or | ||
* NON INFRINGEMENT. See the GNU General Public License for | ||
* more details. | ||
* | ||
* Provide methods for access control of per-cpu resources like | ||
* UDN, IDN, or IPI. | ||
*/ | ||
|
||
#ifndef _UAPI_ASM_TILE_HARDWALL_H | ||
#define _UAPI_ASM_TILE_HARDWALL_H | ||
|
||
#include <arch/chip.h> | ||
#include <linux/ioctl.h> | ||
|
||
#define HARDWALL_IOCTL_BASE 0xa2 | ||
|
||
/* | ||
* The HARDWALL_CREATE() ioctl is a macro with a "size" argument. | ||
* The resulting ioctl value is passed to the kernel in conjunction | ||
* with a pointer to a standard kernel bitmask of cpus. | ||
* For network resources (UDN or IDN) the bitmask must physically | ||
* represent a rectangular configuration on the chip. | ||
* The "size" is the number of bytes of cpu mask data. | ||
*/ | ||
#define _HARDWALL_CREATE 1 | ||
#define HARDWALL_CREATE(size) \ | ||
_IOC(_IOC_READ, HARDWALL_IOCTL_BASE, _HARDWALL_CREATE, (size)) | ||
|
||
#define _HARDWALL_ACTIVATE 2 | ||
#define HARDWALL_ACTIVATE \ | ||
_IO(HARDWALL_IOCTL_BASE, _HARDWALL_ACTIVATE) | ||
|
||
#define _HARDWALL_DEACTIVATE 3 | ||
#define HARDWALL_DEACTIVATE \ | ||
_IO(HARDWALL_IOCTL_BASE, _HARDWALL_DEACTIVATE) | ||
|
||
#define _HARDWALL_GET_ID 4 | ||
#define HARDWALL_GET_ID \ | ||
_IO(HARDWALL_IOCTL_BASE, _HARDWALL_GET_ID) | ||
|
||
|
||
#endif /* _UAPI_ASM_TILE_HARDWALL_H */ |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.