git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge linus into test branch
[pandora-kernel.git]
/
include
/
asm-powerpc
/
agp.h
diff --git
a/include/asm-powerpc/agp.h
b/include/asm-powerpc/agp.h
index
885b463
..
e5ccaca
100644
(file)
--- a/
include/asm-powerpc/agp.h
+++ b/
include/asm-powerpc/agp.h
@@
-1,5
+1,6
@@
#ifndef _ASM_POWERPC_AGP_H
#define _ASM_POWERPC_AGP_H
+#ifdef __KERNEL__
#include <asm/io.h>
@@
-18,4
+19,5
@@
#define free_gatt_pages(table, order) \
free_pages((unsigned long)(table), (order))
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_AGP_H */