projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea31bf6
)
drm/radeon: fix pptable.h portability
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 2 Jan 2014 22:55:35 +0000
(17:55 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 3 Jan 2014 16:34:21 +0000
(11:34 -0500)
The following isn't compatible with gcc 2.x:
pragma pack(push, 1)
...
pragma pack(pop)
replace with:
pragma pack(1)
...
pragma pack()
bug:
https://bugzilla.kernel.org/show_bug.cgi?id=67961
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/pptable.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/pptable.h
b/drivers/gpu/drm/radeon/pptable.h
index da43ab3288332faf705a3e673663c5fe7fbc30b3..2d532996c69795cc129cb4ac6c60a4dfc4b70808 100644
(file)
--- a/
drivers/gpu/drm/radeon/pptable.h
+++ b/
drivers/gpu/drm/radeon/pptable.h
@@
-23,7
+23,7
@@
#ifndef _PPTABLE_H
#define _PPTABLE_H
-#pragma pack(
push,
1)
+#pragma pack(1)
typedef struct _ATOM_PPLIB_THERMALCONTROLLER
@@
-677,6
+677,6
@@
typedef struct _ATOM_PPLIB_PPM_Table
ULONG ulTjmax;
} ATOM_PPLIB_PPM_Table;
-#pragma pack(
pop
)
+#pragma pack()
#endif