Commit Graph

196 Commits

Author SHA1 Message Date
Brian Behlendorf
535dab57d2 Refresh autogen products. 2009-07-29 17:54:49 -07:00
Brian Behlendorf
05e40ce941 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-20 13:26:07 -07:00
Brian Behlendorf
2b1eaf77d4 Remove zfs_debug.h which is a duplicate of the version in the
modules directory.  Having two copies is just asking for trouble.
2009-07-20 13:18:24 -07:00
Brian Behlendorf
4fe5e3cdb9 Refresh autogen products 2009-07-17 09:47:44 -07:00
Brian Behlendorf
61fe8995d8 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-17 09:46:25 -07:00
Brian Behlendorf
3a63d17619 Add option -fPIC (Position Independent Code) needed for x86_64.
While the generic atomic implementation is not used by default
for x86_64 or x86 builds, we still need to always build it with
-fPIC if we ever want to use it on these platforms.
2009-07-17 09:36:01 -07:00
Brian Behlendorf
896b3a3194 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-16 13:46:18 -07:00
Brian Behlendorf
18b7a966e4 Minor build fixes from asm-generic change.
- Drop _NOTE(CONSTCOND) usage in libspl this is Solaris specific.
- Resolve conflicting OR and AND long prototypes.
2009-07-16 13:37:59 -07:00
Brian Behlendorf
8feebe7d65 Refresh autogen products 2009-07-16 10:29:59 -07:00
Brian Behlendorf
ccd59502da Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-16 10:28:22 -07:00
Brian Behlendorf
3ae0e369f3 Add generic user space atomic support.
Futher testing on my powerpc system revealed that the powerpc
specific atomic implemetation was flawed.  Rather than spending
a lot of time correctly reimplementing it in assembly I have
reworked it in to a 100% generic version.  The generic version
will not perform well but it does provide correct sematics.  It
will be used only when there is no architecture specific version
available.  These changes do not impact x86_64 and x86 which have
have correct native implementations.
2009-07-16 09:59:44 -07:00
Brian Behlendorf
3f75bcab7a Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-14 15:38:53 -07:00
Ricardo M. Correia
4279777f47 Fixed the zpool and zfs commands returning 'internal error: Out of memory.' due to a failure in nvlist_common().
The failure turned out to be missing macro definitions for little
endian and big endian.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2009-07-14 15:31:03 -07:00
Brian Behlendorf
6754162e26 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-09 12:29:11 -07:00
Brian Behlendorf
9cf1451c53 Add ASSERTV macro to simplify removing variables (the V in ASSERTV)
when they are only used in ASSERTs which will be compiled out.
2009-07-09 12:08:40 -07:00
Brian Behlendorf
a69fd0003e Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-08 16:26:33 -07:00
Brian Behlendorf
a3d336e1ae Drop support for the Solaris user space thread_t API. This was just
too confusing.  The two consumers of this (ztest.c and taskq.c) have
been updated to use the Solaris kernel space kthread_t API which is
provided by zfs_context.h.
2009-07-08 16:15:42 -07:00
Brian Behlendorf
c9b43a89d4 Refresh autogen products 2009-07-01 13:19:59 -07:00
Brian Behlendorf
4ab0ee76c1 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-01 12:57:56 -07:00
Brian Behlendorf
255ef81e33 Fix 'make dist' on powerpc64 by include an atomic.S place holder file.
Add EXTRA_DIST atomic.c for powerpc64 to ensure source is packaged.
2009-07-01 12:49:10 -07:00
Brian Behlendorf
e3d5b2a900 Refresh autogen products 2009-07-01 11:37:26 -07:00
Brian Behlendorf
6ea69fb5ba Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-01 11:36:24 -07:00
Brian Behlendorf
63845164a6 Use $(RM) macro to ensure -f is passed.
Preserve path for installed headers with nobase.
2009-07-01 11:31:47 -07:00
Brian Behlendorf
80cfd98d8e Refresh autogen products 2009-06-09 16:46:26 -07:00
Brian Behlendorf
26f70525ee Refresh autogen products 2009-06-08 16:33:33 -07:00
Brian Behlendorf
296b71a0fd Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-06-08 16:32:16 -07:00
Brian Behlendorf
3f3cebdcda libspl support for conditional SUBDIRs based on target arch 2009-06-08 16:10:12 -07:00
Brian Behlendorf
3dc39b4640 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-05-22 16:38:53 -07:00
Brian Behlendorf
2486dd20e5 Set LP64 for powerpc64 and LP32 for just powerpc. 2009-05-22 16:27:59 -07:00
Brian Behlendorf
49b845f223 Refresh autogen products 2009-05-22 15:16:05 -07:00
Brian Behlendorf
f62bf01b17 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-05-22 15:07:29 -07:00
Brian Behlendorf
b83a638936 Powerpc64 Compatibility
- Add 64-bit user space atomic support obtained from an old version
  of OpenSolaris which supported ppc.  They are not all 100% fully
  implemented by they are a good first step.
- Add powerpc ISA type.
- Strip out unused ISA defines to prevent any confusion.
2009-05-22 15:00:19 -07:00
Brian Behlendorf
3f3dc327fa Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-17 16:07:06 -07:00
Brian Behlendorf
085d04563d Add stub header which is missing in new versions of glibc 2009-03-17 15:53:34 -07:00
Brian Behlendorf
9141a4f2c8 Refresh autogen products 2009-03-13 09:56:09 -07:00
Brian Behlendorf
4d5171b7f3 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-13 09:51:42 -07:00
Brian Behlendorf
caba3cb67e Update specific asm-* arch to generic i386.
Depending on your x86 architecture $target_cpu can evaluate to
any of the following (i386|i486|i586|i686).  Since our local asm
uses only i386 instructions sed is used to map all of these to
i386 and sets $target_arch.  Other arch's are not impacted.
2009-03-13 09:41:55 -07:00
Brian Behlendorf
7fa1ced508 Refresh autogen products, remove stray zdump Makefile.in 2009-03-12 16:48:12 -07:00
Brian Behlendorf
0fe418c548 Refresh autogen products 2009-03-12 15:55:23 -07:00
Brian Behlendorf
c856450b52 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-12 15:15:45 -07:00
Brian Behlendorf
59541a305e Libspl XDR implementation reorganization
Moved xdr_control() function from static inline in xdr.h in to a
new xdr.c file which was added to the libspl build.  Additionally,
I have removed the 'xdr_bytesrec' typedef which shares the same
name as the struct.  This is what Solaris does, but it's just asking
for trouble.  It has been replaced with an 'xdr_bytesrec_t' typedef.
2009-03-12 14:38:52 -07:00
Brian Behlendorf
808e542240 Refresh autogen products 2009-03-12 11:06:21 -07:00
Brian Behlendorf
0b5ddcfdca Refresh autogen products 2009-03-11 22:31:29 -07:00
Brian Behlendorf
786894010a Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-11 14:58:37 -07:00
Ricardo M. Correia
db42bfe00a Fixed compilation error due to missing xdr_control() implementation in Linux. 2009-03-11 14:53:41 -07:00
Brian Behlendorf
8cb718a76c Refresh autogen products 2009-03-11 14:25:09 -07:00
Brian Behlendorf
b8dd7de0b5 Refresh autogen products 2009-03-11 13:30:38 -07:00
Brian Behlendorf
75cd2f2a81 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-11 12:22:35 -07:00
Brian Behlendorf
84b63f7730 Remove all #pragma idents from libspl. 2009-03-11 12:13:44 -07:00
Brian Behlendorf
6980b84ea9 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-11 10:55:09 -07:00