diff options
| author | Paul Gortmaker <[email protected]> | 2012-01-20 21:24:09 +0000 |
|---|---|---|
| committer | Paul Gortmaker <[email protected]> | 2012-02-28 22:48:04 +0000 |
| commit | f649e9388cd46ad1634164e56f96ae092ca59e4a (patch) | |
| tree | 5c5273e46c268a4cfe1cd7ba0ed9419142239ca1 /lib/spinlock_debug.c | |
| parent | Linux 3.3-rc5 (diff) | |
| download | kernel-f649e9388cd46ad1634164e56f96ae092ca59e4a.tar.gz kernel-f649e9388cd46ad1634164e56f96ae092ca59e4a.zip | |
x86: relocate get/set debugreg fcns to include/asm/debugreg.
Since we already have a debugreg.h header file, move the
assoc. get/set functions to it. In addition to it being the
logical home for them, it has a secondary advantage. The
functions that are moved use BUG(). So we really need to
have linux/bug.h in scope. But asm/processor.h is used about
600 times, vs. only about 15 for debugreg.h -- so adding bug.h
to the latter reduces the amount of time we'll be processing
it during a compile.
Signed-off-by: Paul Gortmaker <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: "H. Peter Anvin" <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
